The five best Windows PowerShell v3 commands every admin should know

Changing state with the Stop-VM and Start-VM cmdlets

5 of 6
Start-VM and Stop-VM cmdlets can be used to change a virtual machine's state

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.

Additional reading:

5 of 6

More from this story

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: