T E C H N I C A L W H I T E P A P E R / 7 9
VMware vSphere 5.0 Evaluation Guide –
Volume One
As with the creation of snapshots, it is very easy to remove them in large numbers with the
Remove-Snapshot
cmdlet. The following example will remove all snapshots with a name of “Patch Tuesday”:
Get-Snapshot -Name “Patch Tuesday” | Remove-Snapshot
Figure 106.
To list the available cmdlets for working with snapshots, type
Get-ViCommand *Snapshot*
Figure 107.
Networking is also a key area of your virtual infrastructure. vSphere PowerCLI has the ability to report, create,
and configure all aspects of your networking configuration.
To list all virtual switches and their information, type
Get-VMHost | Get-VirtualSwitch | Select VMHost, Name,
Nic, NumPortsAvailable