Book Image

VMware Horizon View 6 Desktop Virtualization Cookbook

By : Jason Ventresco
Book Image

VMware Horizon View 6 Desktop Virtualization Cookbook

By: Jason Ventresco

Overview of this book

Table of Contents (18 chapters)
VMware Horizon View 6 Desktop Virtualization Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
4
Managing VMware Horizon View with PowerCLI
Index

Viewing all the PowerCLI commands and their options


In this recipe, we will review all of the current VMware Horizon View PowerCLI commands and provide examples of how they are used.

How to do it…

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.

Listing all 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 the Horizon View you are working with, use the following command:

Get-Command -PSSnapin VMware.View.Broker | more

Displaying the options for a single Horizon View PowerCLI command

The Get-Help PowerShell command is used to display the command-line options for the specified PowerShell or Horizon View PowerCLI command. To display a list of command...