Skip to content

Commit b69416a

Browse files
authored
Merge pull request MicrosoftDocs#7660 from MicrosoftDocs/OGP-chrisda
OGP-chrisda to Master
2 parents 07791e8 + f5b4f17 commit b69416a

File tree

5 files changed

+252
-8
lines changed

5 files changed

+252
-8
lines changed

exchange/docs-conceptual/exchange-online-powershell-v2.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ The Exchange Online PowerShell V2 module (abbreviated as the EXO V2 module) uses
2424
For connection instructions using the EXO V2 module, see the following articles:
2525

2626
- [Connect to Exchange Online PowerShell](connect-to-exchange-online-powershell.md)
27-
2827
- [Connect to Security & Compliance Center PowerShell](connect-to-scc-powershell.md)
29-
3028
- [Connect to Exchange Online Protection PowerShell](connect-to-exchange-online-protection-powershell.md)
3129

3230
The rest of this article explains how the module works, how to install and maintain the module, and the optimized Exchange Online cmdlets that are available in the module.
@@ -49,6 +47,8 @@ The Exchange Online cmdlets in the EXO V2 module are meant to replace their olde
4947

5048
The improved Exchange Online PowerShell cmdlets that are only available in the EXO V2 module are listed in the following table:
5149

50+
<br><br>
51+
5252
****
5353

5454
|EXO V2 module cmdlet|Older related cmdlet|
@@ -66,6 +66,8 @@ The improved Exchange Online PowerShell cmdlets that are only available in the E
6666

6767
The connection-related cmdlets that are available in the EXO V2 module are listed in the following table:
6868

69+
<br><br>
70+
6971
****
7072

7173
|EXO V2 module cmdlet|Older related cmdlet|
@@ -77,14 +79,18 @@ The connection-related cmdlets that are available in the EXO V2 module are liste
7779

7880
Miscellaneous Exchange Online cmdlets that happen to be in the EXO V2 module are listed in the following table:
7981

82+
<br><br>
83+
8084
****
8185

8286
|EXO V2 module cmdlet|Comments|
8387
|---|---|
84-
|[Get-MyAnalyticsFeatureConfig](/powershell/module/exchange/get-myanalyticsfeatureconfig)|This cmdlet is available in v2.0.4 or later.|
85-
|[Set-MyAnalyticsFeatureConfig](/powershell/module/exchange/set-myanalyticsfeatureconfig)|This cmdlet is available in v2.0.4 or later.|
86-
|[Get-UserBriefingConfig](/powershell/module/exchange/get-userbriefingconfig)|This cmdlet is being replaced by [Get-UserAnalyticsConfig](/powershell/module/exchange/get-useranalyticsconfig).|
87-
|[Set-UserBriefingConfig](/powershell/module/exchange/set-userbriefingconfig)|This cmdlet is being replaced by [Set-UserAnalyticsConfig](/powershell/module/exchange/set-useranalyticsconfig).|
88+
|[Get-MyAnalyticsFeatureConfig](/powershell/module/exchange/get-myanalyticsfeatureconfig)|Available in v2.0.4 or later.|
89+
|[Set-MyAnalyticsFeatureConfig](/powershell/module/exchange/set-myanalyticsfeatureconfig)|Available in v2.0.4 or later.|
90+
|[Get-OwnerlessGroupPolicy](/powershell/module/exchange/get-ownerlessgrouppolicy)|Available in v2.0.5-Preview1 or later.|
91+
|[Set-OwnerlessGroupPolicy](/powershell/module/exchange/set-ownerlessgrouppolicy)|Available in v2.0.5-Preview1 or later.|
92+
|[Get-UserBriefingConfig](/powershell/module/exchange/get-userbriefingconfig)|Being replaced by [Get-UserAnalyticsConfig](/powershell/module/exchange/get-useranalyticsconfig).|
93+
|[Set-UserBriefingConfig](/powershell/module/exchange/set-userbriefingconfig)|Being replaced by [Set-UserAnalyticsConfig](/powershell/module/exchange/set-useranalyticsconfig).|
8894
|
8995

9096
## Install and maintain the EXO V2 module
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
external help file: Microsoft.Exchange.Management.RestApiClient.dll-Help.xml
3+
Module Name: ExchangeOnlineManagement
4+
online version: https://docs.microsoft.com/powershell/module/exchange/get-ownerlessgrouppolicy
5+
applicable: Exchange Online
6+
title: Get-OwnerlessGroupPolicy
7+
schema: 2.0.0
8+
author: chrisda
9+
ms.author: chrisda
10+
---
11+
12+
# Get-OwnerlessGroupPolicy
13+
14+
## SYNOPSIS
15+
This cmdlet is available only in the Exchange Online PowerShell V2 module. For more information, see [About the Exchange Online PowerShell V2 module](https://docs.microsoft.com/powershell/exchange/exchange-online-powershell-v2).
16+
17+
**Note**: This cmdlet is available only in version 2.0.5-Preview1 or later of the EXO V2 module.
18+
19+
Use the Get-OwnerlessGroupPolicy cmdlet to view the ownerless group policy in Exchange Online.
20+
21+
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
22+
23+
## SYNTAX
24+
25+
```
26+
Get-OwnerlessGroupPolicy
27+
[-ResultSize <Unlimited>]
28+
[<CommonParameters>]
29+
```
30+
31+
## DESCRIPTION
32+
Use this cmdlet to verify if the ownerless group policy for Microsoft 365 Groups is enabled or disabled in your organization. You can also view additional parameters as part of the policy, including: sender email address, number of weeks you want to notify active members of ownerless groups, number of members within a ownerless group you want to notify, and specific groups within the tenant on which ownerless group policy is enabled.
33+
34+
## EXAMPLES
35+
36+
### Example 1
37+
```powershell
38+
Get-OwnerlessGroupPolicy
39+
```
40+
41+
This example returns the settings of the one and only ownerless group policy for Microsoft 365 Groups.
42+
43+
## PARAMETERS
44+
45+
### -ResultSize
46+
This parameter is reserved for internal Microsoft use.
47+
48+
```yaml
49+
Type: Unlimited
50+
Parameter Sets: (All)
51+
Aliases:
52+
Applicable: Exchange Online
53+
54+
Required: False
55+
Position: Named
56+
Default value: None
57+
Accept pipeline input: False
58+
Accept wildcard characters: False
59+
```
60+
61+
### CommonParameters
62+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).
63+
64+
## INPUTS
65+
66+
###
67+
68+
## OUTPUTS
69+
70+
###
71+
72+
## NOTES
73+
74+
## RELATED LINKS
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
---
2+
external help file: Microsoft.Exchange.Management.RestApiClient.dll-Help.xml
3+
Module Name: ExchangeOnlineManagement
4+
online version: https://docs.microsoft.com/powershell/module/exchange/set-ownerlessgrouppolicy
5+
applicable: Exchange Online
6+
title: Set-OwnerlessGroupPolicy
7+
schema: 2.0.0
8+
author: chrisda
9+
ms.author: chrisda
10+
---
11+
12+
# Set-OwnerlessGroupPolicy
13+
14+
## SYNOPSIS
15+
This cmdlet is available only in the Exchange Online PowerShell V2 module. For more information, see [About the Exchange Online PowerShell V2 module](https://docs.microsoft.com/powershell/exchange/exchange-online-powershell-v2).
16+
17+
**Note**: This cmdlet is available only in version 2.0.5-Preview1 or later of the EXO V2 module.
18+
19+
Use the Set-OwnerlessGroupPolicy cmdlet to modify the ownerless group policy in Exchange Online.
20+
21+
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
22+
23+
## SYNTAX
24+
25+
```
26+
Set-OwnerlessGroupPolicy -Enabled <Boolean> -NoOfWeeksToNotify <Int32> -MaxNoOfMembersToNotify <Int32> -SenderEmailAddress <String>
27+
[-EnabledGroupIds <String[]>]
28+
[-ResultSize <Unlimited>]
29+
[<CommonParameters>]
30+
```
31+
32+
## DESCRIPTION
33+
Use this cmdlet to enable or disable the ownerless group policy for Microsoft 365 Groups in your organization. You can also configure additional policy settings, including sender email address, the number of weeks that you want to notify active members of ownerless groups, and the number of members within a ownerless group that you want to notify. Optionally, you can also specify the Microsoft 365 Groups that you want to enable this policy on.
34+
35+
## EXAMPLES
36+
37+
### Example 1
38+
```powershell
39+
Set-OwnerlessGroupPolicy -Enabled $true -SenderEmailAddress [email protected] -NoOfWeeksToNotify 5 -MaxNoOfMembersToNotify 5 -EnabledGroupIds 1b390686-a8fc-4a2d-b31f-62670552fc99, 4596bdbe-d3c9-4d7b-aa34-a811b76a1366
40+
```
41+
42+
This example configures the ownerless group policy with the specified settings.
43+
44+
## PARAMETERS
45+
46+
### -Enabled
47+
The Enabled parameter enables or disables the ownerless group policy. Valid values are:
48+
49+
- $true: The policy is enabled.
50+
- $false: The policy is disabled.
51+
52+
```yaml
53+
Type: Boolean
54+
Parameter Sets: (All)
55+
Aliases:
56+
Applicable: Exchange Online
57+
58+
Required: True
59+
Position: Named
60+
Default value: None
61+
Accept pipeline input: False
62+
Accept wildcard characters: False
63+
```
64+
65+
### -MaxNoOfMembersToNotify
66+
The MaxNoOfMembersToNotify parameter specifies the maximum number of active members to notify in a ownerless group. A valid value is an integer from 1 to 90.
67+
68+
```yaml
69+
Type: Int32
70+
Parameter Sets: (All)
71+
Aliases:
72+
Applicable: Exchange Online
73+
74+
Required: True
75+
Position: Named
76+
Default value: None
77+
Accept pipeline input: False
78+
Accept wildcard characters: False
79+
```
80+
81+
### -NoOfWeeksToNotify
82+
The NoOfWeeksToNotify parameter specifies the number of weeks to notify the active members specified by the MaxNoOfMembersToNotify parameter. A valid value is an integer from 1 to 7.
83+
84+
```yaml
85+
Type: Int32
86+
Parameter Sets: (All)
87+
Aliases:
88+
Applicable: Exchange Online
89+
90+
Required: True
91+
Position: Named
92+
Default value: None
93+
Accept pipeline input: False
94+
Accept wildcard characters: False
95+
```
96+
97+
### -SenderEmailAddress
98+
The SenderEmailAddress specifies the From address to use for notification messages.
99+
100+
```yaml
101+
Type: String
102+
Parameter Sets: (All)
103+
Aliases:
104+
Applicable: Exchange Online
105+
106+
Required: True
107+
Position: Named
108+
Default value: None
109+
Accept pipeline input: False
110+
Accept wildcard characters: False
111+
```
112+
113+
### -EnabledGroupIds
114+
The EnabledGroupIds parameter specifies a list of groups to enable the policy on if you don't want to enable the policy on all groups in your organization. You can specify a maximum of 10 group GUIDs separated by commas.
115+
116+
```yaml
117+
Type: String[]
118+
Parameter Sets: (All)
119+
Aliases:
120+
Applicable: Exchange Online
121+
122+
Required: False
123+
Position: Named
124+
Default value: None
125+
Accept pipeline input: False
126+
Accept wildcard characters: False
127+
```
128+
129+
### -ResultSize
130+
This parameter is reserved for internal Microsoft use.
131+
132+
```yaml
133+
Type: Unlimited
134+
Parameter Sets: (All)
135+
Aliases:
136+
Applicable: Exchange Online
137+
138+
Required: False
139+
Position: Named
140+
Default value: None
141+
Accept pipeline input: False
142+
Accept wildcard characters: False
143+
```
144+
145+
### CommonParameters
146+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).
147+
148+
## INPUTS
149+
150+
###
151+
152+
## OUTPUTS
153+
154+
###
155+
156+
## NOTES
157+
158+
## RELATED LINKS

exchange/exchange-ps/exchange/exchange.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,12 +2095,16 @@ Exchange PowerShell is built on Windows PowerShell technology and provides a pow
20952095

20962096
### [Get-MyAnalyticsFeatureConfig](Get-MyAnalyticsFeatureConfig.md)
20972097

2098-
### [Get-UserBriefingConfig](Get-UserBriefingConfig.md)
2098+
### [Get-OwnerlessGroupPolicy](Get-OwnerlessGroupPolicy.md)
20992099

2100-
### [Set-UserBriefingConfig](Set-UserBriefingConfig.md)
2100+
### [Get-UserBriefingConfig](Get-UserBriefingConfig.md)
21012101

21022102
### [Set-MyAnalyticsFeatureConfig](Set-MyAnalyticsFeatureConfig.md)
21032103

2104+
### [Set-OwnerlessGroupPolicy](Set-OwnerlessGroupPolicy.md)
2105+
2106+
### [Set-UserBriefingConfig](Set-UserBriefingConfig.md)
2107+
21042108
## reporting Cmdlets
21052109
### [Get-CompromisedUserAggregateReport](Get-CompromisedUserAggregateReport.md)
21062110

exchange/mapping/serviceMapping.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,8 +1031,10 @@
10311031
"Get-EXORecipient": "powershell-v2-module",
10321032
"Get-EXORecipientPermission": "powershell-v2-module",
10331033
"Get-MyAnalyticsFeatureConfig": "powershell-v2-module",
1034+
"Get-OwnerlessGroupPolicy": "powershell-v2-module",
10341035
"Get-UserBriefingConfig": "powershell-v2-module",
10351036
"Set-MyAnalyticsFeatureConfig": "powershell-v2-module",
1037+
"Set-OwnerlessGroupPolicy": "powershell-v2-module",
10361038
"Set-UserBriefingConfig": "powershell-v2-module",
10371039
"Get-CompromisedUserAggregateReport": "reporting",
10381040
"Get-CompromisedUserDetailReport": "reporting",

0 commit comments

Comments
 (0)