vmware / PowerCLI-Example-Scripts

http://blogs.vmware.com/powercli
Other
743 stars 601 forks source link

remove-hventitlement removes all entitlements #599

Open stevewms2 opened 1 year ago

stevewms2 commented 1 year ago

In relation to PR#163 and PR#165

I'll note that this is now fixed for Desktop entitlements, but the same thing happens for local and global Application entitlements. Remove-HVEntitlement -User 'domain\userid' -ResourceName 'AppName' -ResourceType Application will attempt to remove every Application entitlement that user has, rather than just the entitlement for AppName.

Originally posted by @chriskoch99 in https://github.com/vmware/PowerCLI-Example-Scripts/issues/163#issuecomment-1264175694