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

Entitling a desktop pool


Entitling is the act of granting AD users or groups access to the Horizon View pools. In this recipe, we will demonstrate how to either add or remove user and group's Horizon View pool entitlements.

How to do it…

Perform the following steps to entitle a desktop pool:

  1. The following Add-PoolEntitlement command will entitle the Finance_View_Users group to the FinanceLC1 desktop pool:

    Add-PoolEntitlement -Pool_id FinanceLC1 -sid (Get-User -Name "Finance_View_Users").sid
    
  2. To entitle individual users, simply provide the first and last name of the user:

    Add-PoolEntitlement -Pool_id FinanceLC1 -sid (Get-User -Name "Erik Lensherr").sid
    

    Note

    The Get-User command accepts wildcards, but be careful while using them, as the wrong user might be returned. If in doubt, use the Get-User command by itself to verify that you are selecting the correct user.

  3. The Remove-PoolEntitlement command uses the same format as the Add-PoolEntitlement command; however, if you are removing the last entitlements...