Hi all,
When I try to execute the below command to get permission of a useraccount, i get output properly.
get-vipermission -principal domainname\user1
but when I execute the below command to get permission of a group, I get error
get-vipermission -principal domainname\group1
Note: Both user1 and group1 are provided permissions on the ESXi host.
Please let me know the issue/ command to get permission details for a group.
Any Suggestions please...
It works this way...
$permission = Get-VIPermission | Where Principal -eq "domain\group1"
Remove-vipermission -permission $permission -confirm:$false
If any better way, please let me know.