Hyperv - Snapshot Create

Snapshot VM named test

Checkpoint-VM -Name <VMName> -SnapshotName <SnapName>

To run as scheduled task:

  1. Run program/script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
  2. Add the script to execute command as argument: “C:\Users\user\Desktop\snapshot.ps1”