In vCenter we use folders and set permissions to those folders.
Is there a way to get a list of folders that a known specific domain group has access?
Thanks
Something like this?
Get-Folder | Get-VIPermission -Principal $adGroup |
Select @{N = 'Folder'; E = { $_.Entity.Name } }, Role
That returned zero results. Even when I put our domain group for VMware.
EDIT:
Wiat, hold on, it found "vsphere.local\Administrators". Maybe my fat finger typing messed something up....
What does it return, more specifically in the Principal property, when you leave out the Principal parameter on the Get-VIPermission cmdlet?
It worked.
My co-worker gave me a list of incorrect Domain Group names.
Great!