Quantcast
Viewing all articles
Browse latest Browse all 232413

Re: Snapshot report on how often

The Get-VIEventPlus function doesn't have a Days parameter, that is the 2nd function, called Get-MotionHistory.

Use the Start parameter.

Try it like this

$vms = Get-VM

$start = (Get-Date).AddDays(-1)

Get-VIEventPlus -Entity $vms -EventType "VirtualMachine.createSnapshot" -Start $start


Viewing all articles
Browse latest Browse all 232413

Trending Articles