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.

Verify that you are connected to a vCloud Director server.

1

Power on all virtual machines in all vApps with names starting with MyVApp.

Get-CIVApp -Name 'MyVApp*' | Start-CIVApp
2

Suspend all virtual machines in all vApps with names starting with YourVApp.

Get-CIVApp -Name 'YourVApp*' | Suspend-CIVApp
3

Power off all virtual machines in the vApp named MyVApp1.

Get-CIVApp -Name 'MyVApp1' | Stop-CIVApp
4

Shut down the guest operating systems of all virtual machines in the vApp named MyVApp2.

Get-CIVApp -Name 'MyVApp2' | Stop-CIVAppGuest
5

Restart the guest operating systems of all virtual machines in the vApp named MyVApp3.

Get-CIVApp -Name 'MyVApp3' | Restart-CIVAppGuest
6

Reset all virtual machines in the vApp.

Get-CIVApp -Name 'MyVApp4' | Restart-CIVApp