In this recipe, we will review all of the current VMware Horizon View PowerCLI commands and provide examples of how they are used.
The Horizon View PowerCLI commands must be enumerated using either a local or remote PowerCLI session. To establish a remote session, refer to the Establishing a remote Horizon View PowerCLI session recipe found earlier in this chapter.
The Get-Command
PowerShell command is used to display all of the commands available in the specified PowerShell snap-in. To display a current list of PowerCLI commands available in the version of the Horizon View you are working with, use the following command:
Get-Command -PSSnapin VMware.View.Broker | more