Hello Guys,
In this post I'm going to show how to delete multiple snapshot instances in VMware vSphere:
- You need to construct a PowerCLI query:
PS /Users/vicentemeneses>
$snapshotprd=Get-Cluster C3-PRODUCTION |Get- VM |Get-Snapshot
The query above gets all the snapshots in the virtual machines and store the result in a variable called $snapshotprd
2. After that, you need to check the variable information, just type the variable in PowerCLI:
PS /Users/vicentemeneses> $snapshotprd
3. Delete all the snapshots, take care of the Veeam backup snapshots
PS /Users/vicentemeneses> Remove-Snapshot -Snapshot $snapshotmgmt -RemoveChildren
Share and Be Sociable.
Please follow me on twitter: @vicentejr86
No hay comentarios:
Publicar un comentario