May 24th, 2013

PowerTip: Use PowerShell to Put Virtual Machine in Saved State

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to put a virtual machine into a saved state.

Hey, Scripting Guy! Question How do I put a virtual machine into a saved state?

Hey, Scripting Guy! Answer Use the Save-VM cmdlet with the name of the virtual machine in Hyper-V:

Save-VM ‘Contoso-FPS’

Or you can place all virtual machines on a Hyper-V server into saved state by using:

Get-VM | Save-VM

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.