VMware Cloud Community
esxi1979
Expert
Expert
Jump to solution

Need to create a read only accunt in vcenter for acess .. this is a AD account

Any script for Need to create a read only account in vcenter for access .. this is a AD account ? Thanks

1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

I assume you need to assign the ReadOnly to an Active Directory account on a specific entity in your vCenter.

If yes, you can do something like this

$cluster = Get-Cluster -Name MyCluster

New-VIPermission -Entity $cluster -Role ReadOnly -Principal 'domain\account'


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

1 Reply
LucD
Leadership
Leadership
Jump to solution

I assume you need to assign the ReadOnly to an Active Directory account on a specific entity in your vCenter.

If yes, you can do something like this

$cluster = Get-Cluster -Name MyCluster

New-VIPermission -Entity $cluster -Role ReadOnly -Principal 'domain\account'


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference