In this section, we will review all of the current VMware Horizon PowerCLI commands and provide examples of how they are used. The Horizon 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 PowerCLI session section earlier in this chapter.
Viewing all the PowerCLI commands and their options
Listing all Horizon PowerCLI commands
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 Horizon you are working with, use the following command:
Get-Command -PSSnapin VMware.View.Broker...