How To

PowerCLI Basics – Create custom vCenter Server role

A quick post on how to create a custom vCenter Server role using PowerCLI. Cmdlets and reference pages used in this example can be found here: New-VIRole Get-VIPrivilege Create custom vCenter Server role Open PowerCLI and connect to you vCenter Server: PowerCLI C:\> Connect-VIServer <IP_or_FQDN> Enter the Administrator credentials and login. Create a custom vCenter Server role by entering the following command: PowerCLI C:\> New-VIRole -Name “<Role_Name>” -Privilege (Get-VIPrivilege -Id <Privilege A>,<Privilege B>…<Privilege X>) Press Enter. PowerCLI should […]