Managing Horizon Client entitlements and sessions
In this section, we will review several different commands that can be used to manage Horizon Client entitlements and sessions.
Adding desktop pool entitlements
Entitling is the act of granting AD users, or groups, access to the Horizon pools. In this section we will review how to entitle individual users as well as AD security groups:
- The following
Add-PoolEntitlement
command will entitle theEngineering_Horizon_Users
group to theEngineeringLC1
desktop pool:
Add-PoolEntitlement -Pool_id EngineeringLC1 -sid (Get-User -Name "Engineering_Horizon_Users").sid
- To entitle individual users, simply provide the first and last name of the user:
Add-PoolEntitlement -Pool_id EngineeringLC1 -sid (Get-User -Name "Charles Xavier").sid
The Get-User
command accepts wildcards, but be careful when 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...