Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureADGroup

Get-AzureADGroup

microsoft.azure.commands.resources.dll

Synopsis

Filters active directory groups.

Syntax

Get-AzureADGroup [-ObjectId] [<CommonParameters>]

Get-AzureADGroup [-SearchString] [<CommonParameters>]

Get-AzureADGroup [-ObjectId] [<CommonParameters>]

Detailed Description

Filters active directory groups.

Parameters

-ObjectId <Guid>

Object id of the group.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-SearchString <String>

The group display name

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- Filters groups using object id --------------------------

Gets group with 85F89C90-780E-4AA6-9F4F-6F268D322EEE id

PS C:\> Get-AzureADGroup -ObjectId 85F89C90-780E-4AA6-9F4F-6F268D322EEE

-------------------------- Filters groups using Search String --------------------------

Filters all ad groups that has Joe in the display name.

PS C:\> Get-AzureADGroup -SearchString Joe

-------------------------- List AD groups --------------------------

Gets all AD groups

PS C:\> Get-AzureADGroup

Get-AzureADUser
Get-AzureADServicePrincipal
Get-AzureADGroupMember