Get-AmsGroup

SYNOPSIS

Gets AMS groups

SYNTAX

GetByName (Default)

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

GetBySid

Get-AmsGroup -SecurityIdentifier <String> [<CommonParameters>]

GetById

Get-AmsGroup -Id <String> [<CommonParameters>]

DESCRIPTION

This cmdlet gets AMS groups by their name, SID, or ID value. When used without parameters, it returns all AMS groups

EXAMPLES

Example 1

Gets all AMS groups

Example 2

Gets the AMS group by the specified ID

Example 3

Gets the AMS group by the specified SID

Example 4

Gets the AMS group by the specified name

PARAMETERS

-Id

The ID of the group

-Name

The name of the group

-SecurityIdentifier

The security identifier of the group

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Lithnet.AccessManager.PowerShell.GroupPSObject

NOTES

Use of this cmdlet requires an Enterprise Edition license.

Last updated

Was this helpful?