Create a bunch of snapshots with PowerCLI
Last week I was working with snapshots in my lab. I came up with this one liner to create a bunch of snapshots on the same virtual machine: for ($i=1; $i -le 5; $i++) {get-vm “snaptest” |new-snapshot -name “snapshot00$i” -Description (get-date -format “‘Created: ‘yyyy-MM-dd HH:mm”) -memory:$true} As you can see…