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 information about persistent data disks


The Get-ProfileDisk command can be used to retrieve information about the desktop's persistent data disks that are registered with Horizon View.

How to do it…

The following example command will retrieve information about the persistent disk that belongs to the specified user:

Get-ProfileDisk -Username "vjason.local\elensherr"

Omit the -Username option in order to retrieve details about all of the persistent data disks registered with Horizon View.

How it works…

The Get-ProfileDisk command supports several options in order to retrieve information about the persistent disks registered with Horizon View:

  • The Name option: This is the name of the persistent disk.

  • The Username option: This is the full domain\username of the owner of the persistent disk.

  • The VmName option: This is the name of the VM that is using the persistent disk.

  • The LastPool option: This is the desktop pool that contains the persistent disk.

  • The DataStore option: This is the datastore...