< Back

Get-LinaUserGroup

Fri Jan 10, 2020 9:21 pm

NAME Get-LinaUserGroup



SYNOPSIS

Retrieves the user groups on a Lina server.





SYNTAX

Get-LinaUserGroup [-Name <String>] [<CommonParameters>]



Get-LinaUserGroup [-ID <Int32>] [<CommonParameters>]





DESCRIPTION

Retrieves the user groups on a Lina server.





PARAMETERS

-Name <String>

Optional : Name of the user group to retrieve. Wilcards are allowed. For example : *Admin*



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ID <Int32>

Optional : ID of the user group to retrieve.



Required? false

Position? named

Default value 0

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

Array of LinaUserGroup Objects





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



PS C:\\>Get-LinaUserGroup



Retrieves all the user groups.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-LinaUserGroup -Name "*Admin*"



Retrieves all the user groups with Admin inside their names.











RELATED LINKS