Any script for Need to create a read only account in vcenter for access .. this is a AD account ? Thanks
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
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