createRole.pl

Version 1

    This script allows you to create a new role and associated set of privileges on either ESX(i) or vCenter system.

     

    Requirements:

    vCenter 2.5 or 4.0

    ESX(i) 3.5 or 4.0

    vMA 4.0 or vCLI 4.0

     

    Sample Execution:

     

    [vi-admin@scofield ~]$ ./createRole.pl --server reflex.primp-industries.com --rolename test-role --privileges "Datastore.Browse Global.ManageCustomFields"
    Creating new role: "test-role" with the following privileges:
    Datastore.Browse
    Global.ManageCustomFields
    
    Successfully created new role!