Shutdown all VMWare Guest Operating Systems

While studying for my MCSE, I find myself having to start up and shutdown groups of Virtual Machines on a regular basis. It's really easy to start up a team of VM's, but shutting them down was a painful task. To easily shutdown multiple virtual machines in an Active Directory domain, you can use "shutdown.exe". Instructions are detailed below:
  1. Open notepad
  2. Type: shutdown /s /m \\computername
  3. Repeat for each computer, leaving the routers and local computer til last
  4. save as "shutdown_team.bat" or simlar file
  5. Run the file to shutdown all the team members in the order you specified
Argument reference:
/s = shutdown
/m = computer to shutdown
Use /f to force applications to close
Additional arguments can be listed my typing "shutdown" in Command Prompt.

Popular posts from this blog

Get local computer UUID/GUID using Windows Powershell

gPLink and gPOptions

PSLoggedOn Getting Started on Windows Server 2008 R2