PowerCLI-Example-Scripts
PowerCLI-Example-Scripts copied to clipboard
Get-HVEntitlement shows users and groups when specifying -Type User
Trying to separately get lists of users or groups entitled to certain applications.
Running the following command lists Active Directory groups entitled to MyAppID:
(Get-HVEntitlement -ResourceName "MyAppID" -ResourceType Application -Type Group).base.name
Running the following command shows both Active Directory users and groups, but should only show users unless I've misunderstood the command:
(Get-HVEntitlement -ResourceName "MyAppID" -ResourceType Application -Type User).base.name
Anybody else see this?