VMware Cloud Community
Sajeesh_mac
Contributor
Contributor

Snapshot Deletion

Hi Team,

Just a quick question on snapshot deletion , I am executing below command on a Vcenter to delete snapshot of name starts with "Patch" . I am running with out async so I think there wont be parellel tasks started which will impact the storage . Could you please let me know how many tasks will be started with this below script ( Any vcenter defaults )  ? will it go one by one ? I want to know this before I execure on produciton and I do not have a test setup .

Get-VM | get-snapshot | where {$_.Description -match "Patch" -and ($_.created -lt (Get-Date).AddDays(-5))} | Remove-Snapshot -Confirm:$false

Reply
0 Kudos
0 Replies