This is the built-in help made by Microsoft for the command 'Remove-VMSnapshot', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Deletes a virtual machine snapshot.
Remove-VMSnapshot [-VMName] <String[]> [[-Name] <String[]>] [-AsJob] [-ComputerName <String[]>] [-IncludeAllChildSnapshots] [-Passthru]
[<CommonParameters>]
Remove-VMSnapshot [-VM] <VirtualMachine[]> [[-Name] <String[]>] [-AsJob] [-IncludeAllChildSnapshots] [-Passthru] [<CommonParameters>]
Remove-VMSnapshot [-VMSnapshot] <VMSnapshot[]> [-AsJob] [-IncludeAllChildSnapshots] [-Passthru] [<CommonParameters>]
The Remove-VMSnapshot deletes a virtual machine snapshot.
<
<
Example 1
PS C:\>Get-VM TestVM | Remove-VMSnapshot –Name Experiment*
Deletes all snapshots of virtual machine TestVM whose names starts with Experiment.
Example 2
PS C:\>Get-VMSnapshot -VMName TestVM | Where-Object {$_.CreationTime -lt (Get-Date).AddDays(-90) } | Remove-VMSnapshot
Deletes all snapshots of virtual machine TestVM older than 90 days.