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

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...