December 26th, 2012

PowerTip: Checkpoint Virtual Machine by Using PowerShell

Doctor Scripto
Scripter

Summary: Use Windows PowerShell 3.0 and Windows 8 or Windows Server 2012 to checkpoint all virtual machines on a system.

Hey, Scripting Guy! Question How can I checkpoint all of my virtual machines by using Windows PowerShell 3.0 and either Windows 8 or Windows Server 2012?

Hey, Scripting Guy! Answer Use the Get-VM cmdlet and pipe the results to the Checkpoint-VM cmdlet, as shown here.

get-vm -ComputerName hyperv2 | checkpoint-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.

Feedback