PowerCLI-Example-Scripts icon indicating copy to clipboard operation
PowerCLI-Example-Scripts copied to clipboard

Get-HVEntitlement shows users and groups when specifying -Type User

Open chriskoch99 opened this issue 3 years ago • 1 comments

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?

chriskoch99 avatar Mar 01 '21 00:03 chriskoch99