Get-​Azure​Rm​AD​Group

Filters active directory groups.

Syntax

Get-AzureRmADGroup
   [-ObjectId <Guid>]
   [<CommonParameters>]
Get-AzureRmADGroup
   -ObjectId <Guid>
   [<CommonParameters>]
Get-AzureRmADGroup
   -SearchString <String>
   [<CommonParameters>]

Description

Filters active directory groups.

Examples

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

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

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

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

PS C:\> Get-AzureRmADGroup -SearchString Joe

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

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

PS C:\> Get-AzureRmADGroup

Gets all AD groups

Required Parameters

-SearchString

The group display name

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-ObjectId

Object id of the group.

Type:Guid
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False