Quantcast
Viewing all articles
Browse latest Browse all 49146

Re: Permissions set via script

Just did another test, when your vCenter is joined to the same domain as the principal's domain, you apparently need to use the NetBIOS format.

 

$folderName='PermissionTest'

$roleName='Minimal'

$group='LOCAL\testgroup'


$folder=Get-Folder-Name $folderName

$role=Get-VIRole-Name $roleName


New-VIPermission-Entity $folder-Principal $group-Role $role-Confirm:$false


Viewing all articles
Browse latest Browse all 49146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>