Cyber Deals - Get up to 65% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

VMWare PowerCLI

# Take snapshot
PS C:\> New-Snapshot -VM Test-1 -Name 'This is a test snapshot' -Description 'Testing this out' -Quiesce -Memory

# Get latest snapshot
PS C:\> $snapshot1 = Get-Snapshot -VM $vm | Sort-Object -Property Created -Descending | Select -First 1

# Remove a snapshot
PS c:\> Remove-Snapshot -Snapshot $snapshot1 -RemoveChildren
Disclaimer: Views expressed in articles are those of the respective authors and do not necessarily reflect the views of their employers or this site. While we aim for accuracy, please verify information before relying on it, and let us know if you spot an error.
Share:

Related Posts

VMWare Tanzu

VMWare Tanzu

Cluster API The Cluster API Book TAM Lab 062 - Tanzu Kubernetes Grid (TKG) for your Home Lab (Video) Getting Started with vSphere with Tanzu (Cormac …