The Get-PoolEntitlement command can be used to review the AD users and groups that have been granted access to the specified pool ID. The Get-PoolEntitlement command supports only one option: Pool_id. The following example command retrieves the entitlement settings for the desktop pool with the EngineeringLC1 ID:
Get-PoolEntitlement -Pool_id “EngineeringLC1”
Omit the options in order to retrieve a list of user entitlements for all desktop pools. If the pool does not have an entitlement, the command will return an exception.