You can use the Start-VM cmdlet to start any virtual machine. This very simple cmdlet does not require any command-line switches aside from the VM name. Similarly, if you want to stop a VM, use the Stop-VM cmdlet, as shown in the figure. These PowerShell v3 cmdlets come in very handy for performing scripted operations that require a VM to be rebooted.
- PowerCLI scripts to learn and love
- XenServer PowerShell cmdlets for advanced virtualization management