Get Entitlement issue

This post was originally published on this site

Hi guys,

 

Am trying to get entitlements assigned to specific application(say firefox). But it returns the values in API ID format.

 

Here is what I did:

 

$appEntitlements = Get-HVEntitlement -ResourceName ‘firefox’ -ResourceType application

Write-Host ‘App entitlements:’;

foreach ($info in $appEntitlements) {

Write-Host $info.id.id;

}

 

Also,

 

(Get-HVEntitlement -ResourceName ‘firefox’).id

 

(Get-HVEntitlement -ResourceName ‘firefox’).id.id

 

both commands returns the same output.

 

Any help?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.