< Back

New-LinaUserGroup

Fri Jan 10, 2020 9:23 pm

NAME New-LinaUserGroup



SYNOPSIS

Creates a new user group.





SYNTAX

New-LinaUserGroup [-Name] <String> [[-Tenant] <String>] [-UserProfile] <String> [<CommonParameters>]





DESCRIPTION

Creates a new user group.





PARAMETERS

-Name <String>

Mandatory : Name for the User Group



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Tenant <String>

Optional : Name of the tenant where the user group should be created.

If not provided, agent will be created in the current tenant.

In global view (no tenant selected), agent will be created in the default tena



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UserProfile <String>

Mandatory : User profile for the user

Note : User profile has to be in the same tenant as the user group



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None





OUTPUTS

The new LinaUserGroup Object





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>New-LinaUserGroup -Name "MyUserGroup" -Tenant "MyTenant" -UserProfile "Profil administrateur"



Creates a new user groupe MyUserGroup in Tenant MyTenant using User Profile "Profil administrateur"











RELATED LINKS