File tree 1 file changed +11
-1
lines changed
azureadps-2.0-preview/AzureAD
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ The **Get-AzureADGroup** cmdlet gets a group in Azure Active Directory (AD).
39
39
```
40
40
PS C:\>Get-AzureADGroup
41
41
42
-
43
42
ObjectId DisplayName Description
44
43
-------- ----------- -----------
45
44
00628948-b509-4362-aa73-380c4dbd2a44 ADSyncBrowse
@@ -73,6 +72,17 @@ ObjectId DisplayName
73
72
74
73
This command gets the groups that start with the text All in their display names.
75
74
75
+ ### Example 3: Get groups filtering on an attribute
76
+ ```
77
+ PS C:\>Get-AzureADGroup -Filter "startswith(Displayname,'Exchange')"
78
+
79
+ ObjectId DisplayName Description
80
+ -------- ----------- -----------
81
+ 4370f0a6-78e9-44cb-b722-29cb5307fdba Exchange Servers This group contains all the Exchange servers. This group shouldn't be deleted.
82
+ 47a1bff5-f449-4bfc-8772-b1515c57fec5 ExchangeLegacyInterop This group is for interoperability with Exchange 2003 servers within the same forest.
83
+ ```
84
+ This command gets the groups where the Displayname attribute starts with "Exchange".
85
+
76
86
## PARAMETERS
77
87
78
88
### -All
You can’t perform that action at this time.
0 commit comments