View Only

Adding privileges to existing roles

  • 1.  Adding privileges to existing roles

    Posted Sep 01, 2022 07:10 PM

    I'm running the following script to add new vSphere 7 privileges to our existing roles. 

    Set-VIRole -Role "vCenter - VM Deployment" -AddPrivilege (
    Get-VIPrivilege -Id @(

    The script executes but only returns a False value and does not update the role. 

    Name               IsSystem
    ----                    --------
    vCenter - VM... False

    After hours of online searching I thought I'd post here, hopefully for suggestions on what I may be missing. I'd update these values manually but need to update 10+ roles on over 70 vCenters.