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.
Perform the following steps to entitle a desktop pool:
The following
Add-PoolEntitlement
command will entitle theFinance_View_Users
group to theFinanceLC1
desktop pool:Add-PoolEntitlement -Pool_id FinanceLC1 -sid (Get-User -Name "Finance_View_Users").sid
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
The
Remove-PoolEntitlement
command uses the same format as theAdd-PoolEntitlement
command; however, if you are removing the last entitlements...