Take a snapshot of all virtual machines in the MyRP01 resource pool. Get-ResourcePool MyRP01 | Get-VM | New-Snapshot -Name InitialSnapshot
The Location parameter takes arguments of the VIContainer type, on which Cluster, Datacenter, Folder, ResourcePool, and VMHost object types are based. Therefore, the Location parameter can use arguments of all these types.
|