VMware VS4-STD-C - vSphere Standard - PC Evaluation Manual page 78

Evaluator guide
Table of Contents

Advertisement

VMware vSphere 5.0 Evaluation Guide –
Volume One
To gain more information about all snapshots, type Get-VM | Get-Snapshot | Select VM, Name, Description,
Created, SizeMB | Format-Table
In addition to reporting, PowerCLIvSphere PowerCLI also provides cmdlets for the management of snapshots.
Figure 104.
Snapshots are easily created in large numbers in vSphere PowerCLI. Snapshots in the vSphere Client must be
created one at a time. With vSphere PowerCLI, you can specify the criteria for your virtual machines and use the
New-Snapshot cmdlet to create a snapshot on each virtual machine. The following example shows how to
create a snapshot on all virtual machines having names that start with VM:
Get-VM VM* | New-Snapshot -Name "Patch Tuesday" -Description "A Patch added before applying all
Microsoft Patches"
You will also see from the preceding screen shot that any task produced by vSphere PowerCLI will be recorded
in the normal manner within vCenter and attributed to the user who is connected to this vSphere PowerCLI session.
Figure 105.
T E C H N I C A L W H I T E P A P E R / 7 8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vsphere 5.0

Table of Contents