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

Retrieving a list of virtual machines managed by Horizon View


The Get-DesktopVM PowerCLI command can be used to return a list of the virtual desktops that meet the specified criteria.

How to do it…

The following example command retrieves a list of desktops that currently have a refresh operation scheduled:

Get-DesktopVM -ComposerTask refresh

Omit the options in order to retrieve a list of all virtual machines.

How it works…

The Get-DesktopVM command supports multiple options that enable you to return desktops based on very specific criteria. The criteria include the following: