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

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