Copy-ready commandRemove-Snapshot — Basic Usage
Get-Snapshot -VM vm01 -Name "Before Change" | Remove-Snapshot -Confirm:$falseProduction warning
Snapshot, power, move, and removal operations affect virtual machines.
Requirements and permissions
- Requirements
- VMware PowerCLI or ESXi shell
- Permissions
- vCenter or ESXi permissions vary
- Last reviewed
- 2026-07-31
Examples
Basic Usage
Use Remove-Snapshot for a standard administrative task.
Get-Snapshot -VM vm01 -Name "Before Change" | Remove-Snapshot -Confirm:$falseOriginal command
Remove a virtual machine snapshot.
Get-Snapshot -VM vm01 -Name "Before Change" | Remove-Snapshot -Confirm:$falseCommon errors
Command not found
Confirm VMware PowerCLI or ESXi shell is installed and available in your current shell.