< Back

New-GoogleDirectoryRole

Mon Jan 13, 2020 10:43 pm

NAME New-GoogleDirectoryRole



SYNOPSIS

Creates a new GSuite role.





SYNTAX

New-GoogleDirectoryRole [-Name] <String> [-Privileges] <Hashtable[]> [-CustomerId <String>] -BearerToken <String>

[-UseCompression] [-PassThru] [<CommonParameters>]



New-GoogleDirectoryRole [-Name] <String> [-Privileges] <Hashtable[]> [-CustomerId <String>] [-ProfileLocation

<String>] [-Persist] [-UseCompression] [-PassThru] [<CommonParameters>]





DESCRIPTION

This cmdlet creates a new GSuite role.





PARAMETERS

-Name <String>

The name of the role to create.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Privileges <Hashtable[]>

The privileges to assign to the role. This is an array of items where each item has a privilege name and

service id. For

example:



$Priv = @{