PowerCLI-Example-Scripts
PowerCLI-Example-Scripts copied to clipboard
remove-hventitlement removes all entitlements
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