Remove multiple snapshot through PowerCLI command
Remove multiple snapshot through PowerCLI command
connect-viserver -server vcenter name -user xxxx -password xxxx
output :
output :
Name Port User
vcenter name 443 domain\username
Run the following cmd to delete the Snapshot
Get-VM
get-vm $corpser | Get-Snapshot | select vm,name,description,created,sizegb | Form
at-Table,
$corpser - having list of VM's
Showing list of snapshot
Showing list of snapshot
Get-VM | Get-Snapshot | Remove-Snapshot -Confirm:$false
It will show deleting snapshot ..
Comments
Post a Comment