- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a powershell script that emails me daily each VM that has a snapshot and the snapshot name. It integrates with powerCLI.
I use it to clean up stale/obsolete snapshots other admins forget about.
Get-VM | Select-Object -ExpandProperty Name | Out-File "C:\scripts\VMList.txt"
Get-Snapshot -VM (Get-Content C:\scripts\VMList.txt) | Select-Object VM,Name | Format-List | Out-file C:\scripts\ssmail.txt