For a large-scale
approach to administration, you can start, stop, or restart virtual machines or
their guest operating systems by running cmdlets on the associated vApps.
Prerequisites
Verify that you are connected
to a
vCloud
Director
server.
Procedure
-
Power on all virtual
machines in all vApps with names starting with
MyVApp.
Get-CIVApp -Name 'MyVApp*' | Start-CIVApp
-
Suspend all virtual
machines in all vApps with names starting with
YourVApp.
Get-CIVApp -Name 'YourVApp*' | Suspend-CIVApp
-
Power off all virtual
machines in the vApp named
MyVApp1.
Get-CIVApp -Name 'MyVApp1' | Stop-CIVApp
-
Shut down the guest
operating systems of all virtual machines in the vApp named
MyVApp2.
Get-CIVApp -Name 'MyVApp2' | Stop-CIVAppGuest
-
Restart the guest
operating systems of all virtual machines in the vApp named
MyVApp3.
Get-CIVApp -Name 'MyVApp3' | Restart-CIVAppGuest
-
Reset all virtual
machines in the vApp.
Get-CIVApp -Name 'MyVApp4' | Restart-CIVApp