Book Image

VMware Horizon View 6 Desktop Virtualization Cookbook - Second Edition

By : Ventresco
Book Image

VMware Horizon View 6 Desktop Virtualization Cookbook - Second Edition

By: Ventresco

Overview of this book

If you want a more detailed explanation concerning the implementation of several different core features of VMware Horizon View, this is the book for you. Whether you are new to VMware Horizon View or an existing user, this book will provide you with the knowledge you need to successfully deploy several core features and get introduced to the latest features of version 6.0 as well.
Table of Contents (13 chapters)
4
4. Managing VMware Horizon View with PowerCLI
12
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...