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

Monitoring the remote Horizon View sessions


The Get-RemoteSession command is used to obtain information about any current Horizon View client sessions. The command supports several options that can be used to return only those sessions that match the specified criteria.

How to do it…

The following example command retrieves all the remote Horizon View client sessions for the FinanceLC1 desktop pool:

Get-RemoteSession -Pool_id FinanceLC1

How it works…

The Get-RemoteSession command supports multiple options for listing client connections. Only one option is required in order to retrieve session information. The options include the following:

  • The Username option: The username is in the FullDomainName\username format, for example, vjason.local\elensherr

  • The Pool_id option: This is the desktop pool ID, for example, FinanceLC1

  • The Session_id option: This is the Horizon View client session ID

  • The Duration option: This is the duration in the format "dd day(s) hh hour(s) mm minute(s) ss second(s)", for...