This will get snapshots older than 5 days:
Get-VM | Get-Snapshot | Where {$_.Created -lt (Get-Date).AddDays(-5)}
You might also want to take a look at Alan's snapshot reminder:
This will get snapshots older than 5 days:
Get-VM | Get-Snapshot | Where {$_.Created -lt (Get-Date).AddDays(-5)}
You might also want to take a look at Alan's snapshot reminder:
Thank you. Can we get the snapshot name, Who created it ?
The name of the snapshot is in the first column of the output. Who created it isn't a property of the snapshot, but you can get this if the task or event from the snapshot creation is still in the vCenter database. The snapshot reminder script I referenced above does this or there is a module in the Powershell Gallery to get the creator: