Skip to content

Commit 241bd1b

Browse files
authored
Merge pull request MicrosoftDocs#7137 from MicrosoftDocs/chrisda
Chrisda to Master
2 parents ea51a73 + dad53c9 commit 241bd1b

File tree

11 files changed

+104
-118
lines changed

11 files changed

+104
-118
lines changed

exchange/docs-conceptual/app-only-auth-powershell-v2.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ The following examples show how to use the Exchange Online PowerShell V2 module
5050
When you use the _Certificate_ parameter, the certificate does not need to be installed on the computer where you are running the command. This parameter is applicable for scenarios where the certificate object is stored remotely and fetched at runtime during script execution.
5151

5252
> [!TIP]
53-
> In the **Connect-ExchangeOnline** commands, be sure to use an `.onmicrosoft.com` domain in the _Organization_ parameter value. Otherwise, you might encounter cryptic permission issues when you run commands in the app context.
53+
>
54+
> - In the **Connect-ExchangeOnline** commands, be sure to use an `.onmicrosoft.com` domain in the _Organization_ parameter value. Otherwise, you might encounter cryptic permission issues when you run commands in the app context.
55+
>
56+
> - App-only authentication does not support delegation. Unattended scripting in delegation scenarios is supported with the Secure App Model. For more information, go [here](https://docs.microsoft.com/powershell/partnercenter/multi-factor-auth#exchange).
5457
5558
## How does it work?
5659

exchange/exchange-ps/exchange/Add-UnifiedGroupLinks.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ Microsoft 365 Groups are group objects that are available across Microsoft 365 s
3434

3535
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
3636

37-
>
38-
[!NOTE]
39-
> Only members can be owners of a group, so you must first add a user as member before adding it as an owner.
37+
**Note**: Only members can be owners of a group, so you must first add a user as member before adding it as an owner.
4038

4139
## EXAMPLES
4240

exchange/exchange-ps/exchange/Get-ExchangeCertificate.md

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ By default, this cmdlet returns the following certificate properties in the summ
5353
- Services: The Exchange services that the certificate is assigned to by using the Enable-ExchangeCertificate cmdlet. Values are None, Federation, IIS, IMAP, POP, SMTP, UM, and UMCallRouter. You'll see the value None in certificates that aren't used with Exchange (for example, the `WMSvc-<ServerName>` certificate that's used for the IIS Web Management Service).
5454
- Subject: Contains the X.500 value in the certificate's Subject Name field. The important part is the CN= value.
5555

56-
If you append | Format-List to the command, the cmdlet returns these additional certificate properties:
56+
If you append ` | Format-List` to the command, the cmdlet returns these additional certificate properties:
5757

58-
- AccessRules: The host names or FQDNs in the certificate's Subject Alternative Name field.
58+
- AccessRules: Typically, this value is multiple instances of the value System.Security.AccessControl.CryptoKeyAccessRule separated by commas.
5959
- CertificateDomains: The host names or FQDNs in the certificate's Subject Alternative Name field.
6060
- HasPrivateKey: Whether or not the certificate contains a private key.
6161
- IsSelfSigned: Whether or not the certificate is self-signed (not issued by a certification authority).
@@ -125,29 +125,54 @@ This example shows which certificate Exchange will select for the domain name ma
125125

126126
## PARAMETERS
127127

128-
### -DomainController
129-
The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name (FQDN). For example, dc01.contoso.com.
128+
### -Thumbprint
129+
The Thumbprint parameter specifies the thumbprint value of the certificate that you want to view.
130130

131-
The DomainController parameter isn't supported on Edge Transport servers. An Edge Transport server uses the local instance of Active Directory Lightweight Directory Services (AD LDS) to read and write data.
131+
The Thumbprint parameter, not the Identity parameter, is the positional parameter for this cmdlet. Therefore, when you specify a thumbprint value by itself, the command uses that value for the Thumbprint parameter.
132132

133133
```yaml
134-
Type: Fqdn
135-
Parameter Sets: (All)
134+
Type: String
135+
Parameter Sets: Thumbprint
136136
Aliases:
137137
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
138138

139139
Required: False
140-
Position: Named
140+
Position: 1
141+
Default value: None
142+
Accept pipeline input: True
143+
Accept wildcard characters: False
144+
```
145+
146+
### -Identity
147+
The Identity parameter specifies the certificate that you want to view. Valid values are:
148+
149+
- `ServerNameOrFQDN\Thumbprint`
150+
- `Thumbprint`
151+
152+
You can't use this parameter with the Server parameter.
153+
154+
The Thumbprint parameter, not the Identity parameter, is the positional parameter for this cmdlet. Therefore, when you specify a thumbprint value by itself, the command uses that value for the Thumbprint parameter.
155+
156+
```yaml
157+
Type: ExchangeCertificateIdParameter
158+
Parameter Sets: Identity
159+
Aliases:
160+
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
161+
162+
Required: False
163+
Position: 1
141164
Default value: None
142165
Accept pipeline input: False
143166
Accept wildcard characters: False
144167
```
145168

146-
### -DomainName
147-
The DomainName parameter filters the results by the fully qualified domain name (FQDN) or server name values in the Subject Name or the Subject Alternative Name fields. You can specify multiple values separated by commas.
169+
### -DomainController
170+
The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name (FQDN). For example, dc01.contoso.com.
171+
172+
The DomainController parameter isn't supported on Edge Transport servers. An Edge Transport server uses the local instance of Active Directory Lightweight Directory Services (AD LDS) to read and write data.
148173

149174
```yaml
150-
Type: MultiValuedProperty
175+
Type: Fqdn
151176
Parameter Sets: (All)
152177
Aliases:
153178
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
@@ -159,24 +184,17 @@ Accept pipeline input: False
159184
Accept wildcard characters: False
160185
```
161186

162-
### -Identity
163-
The Identity parameter specifies the certificate that you want to view. Valid values are:
164-
165-
- `ServerNameOrFQDN\Thumbprint`
166-
- `Thumbprint`
167-
168-
You can't use this parameter with the Server parameter.
169-
170-
The Thumbprint parameter, not the Identity parameter, is the positional parameter for this cmdlet. Therefore, when you specify a thumbprint value by itself, the command uses that value for the Thumbprint parameter.
187+
### -DomainName
188+
The DomainName parameter filters the results by the fully qualified domain name (FQDN) or server name values in the Subject Name or the Subject Alternative Name fields. You can specify multiple values separated by commas.
171189

172190
```yaml
173-
Type: ExchangeCertificateIdParameter
174-
Parameter Sets: Identity
191+
Type: MultiValuedProperty
192+
Parameter Sets: (All)
175193
Aliases:
176-
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
194+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
177195
178196
Required: False
179-
Position: 1
197+
Position: Named
180198
Default value: None
181199
Accept pipeline input: False
182200
Accept wildcard characters: False
@@ -223,24 +241,6 @@ Accept pipeline input: False
223241
Accept wildcard characters: False
224242
```
225243

226-
### -Thumbprint
227-
The Thumbprint parameter specifies the thumbprint value of the certificate that you want to view.
228-
229-
The Thumbprint parameter, not the Identity parameter, is the positional parameter for this cmdlet. Therefore, when you specify a thumbprint value by itself, the command uses that value for the Thumbprint parameter.
230-
231-
```yaml
232-
Type: String
233-
Parameter Sets: Thumbprint
234-
Aliases:
235-
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
236-
237-
Required: False
238-
Position: 1
239-
Default value: None
240-
Accept pipeline input: True
241-
Accept wildcard characters: False
242-
```
243-
244244
### CommonParameters
245245
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).
246246

exchange/exchange-ps/exchange/Get-RecoverableItems.md

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -246,30 +246,16 @@ The SourceFolder parameter specifies where to search for deleted items in the ma
246246
247247
- DeletedItems: The Deleted Items folder.
248248
- RecoverableItems: The Recoverable Items\Deletions folder. This folder contains items that have been deleted from the Deleted Items folder (soft-deleted items).
249-
- PurgedItems: (Cloud only) The Recoverable Items\Purges folder. This folder contains items that have been purged from the Recoverable Items folder (hard-deleted items).
249+
- PurgedItems: The Recoverable Items\Purges folder. This folder contains items that have been purged from the Recoverable Items folder (hard-deleted items).
250250
251251
If you don't use this parameter, the command will search all of these folders.
252252
253253
```yaml
254254
Type: RecoverableItemsFolderType
255-
Parameter Sets: OnPremises
256-
Aliases:
257-
Accepted values: DeletedItems | RecoverableItems
258-
Applicable: Exchange Server 2016, Exchange Server 2019
259-
260-
Required: False
261-
Position: Named
262-
Default value: None
263-
Accept pipeline input: False
264-
Accept wildcard characters: False
265-
```
266-
267-
```yaml
268-
Type: RecoverableItemsFolderType
269-
Parameter Sets: Cloud
255+
Parameter Sets: (All)
270256
Aliases:
271257
Accepted values: DeletedItems | RecoverableItems | PurgedItems
272-
Applicable: Exchange Online
258+
Applicable: Exchange Server 2016, Exchange Server 2019, Exchange Online
273259

274260
Required: False
275261
Position: Named

exchange/exchange-ps/exchange/New-Label.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Accept wildcard characters: False
140140
```
141141
142142
### -AdvancedSettings
143-
The AdvancedSettings parameter enables client-specific features and capabilities on the sensitivity label. The settings that you configure with this parameter only affect apps that are designed for the setting. For more information, see [How to configure advanced settings for the client by using Security & Compliance Center PowerShell](https://docs.microsoft.com/azure/information-protection/rms-client/clientv2-admin-guide-customizations#how-to-configure-advanced-settings-for-the-client-by-using-office-365-security--compliance-center-powershell).
143+
The AdvancedSettings parameter enables client-specific features and capabilities for a sensitivity label. The settings that you configure with this parameter are supported only by the Azure Information Protection unified labeling client and not by Office apps that support built-in labeling. For more information how to configure these advanced settings, see [Custom configurations for the Azure Information Protection unified labeling client](https://docs.microsoft.com/azure/information-protection/rms-client/clientv2-admin-guide-customizations).
144144
145145
```yaml
146146
Type: PswsHashtable

exchange/exchange-ps/exchange/New-LabelPolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Accept wildcard characters: False
8585
```
8686

8787
### -AdvancedSettings
88-
The AdvancedSettings parameter enables client-specific features and capabilities on the sensitivity label policy. The settings that you configure with this parameter only affect apps that are designed for the setting. For more information, see [How to configure advanced settings for the client by using Security & Compliance Center PowerShell](https://docs.microsoft.com/azure/information-protection/rms-client/clientv2-admin-guide-customizations#how-to-configure-advanced-settings-for-the-client-by-using-office-365-security--compliance-center-powershell).
88+
The AdvancedSettings parameter enables client-specific features and capabilities for the sensitivity label policy. The settings that you configure with this parameter are supported only by the Azure Information Protection unified labeling client and not by Office apps that support built-in labeling. For more information how to configure these advanced settings, see [Custom configurations for the Azure Information Protection unified labeling client](https://docs.microsoft.com/azure/information-protection/rms-client/clientv2-admin-guide-customizations).
8989

9090
```yaml
9191
Type: PswsHashtable

exchange/exchange-ps/exchange/Restore-RecoverableItems.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,16 +308,16 @@ The SourceFolder parameter specifies where to search for deleted items in the ma
308308
309309
- DeletedItems: The Deleted Items folder.
310310
- RecoverableItems: The Recoverable Items\Deletions folder. This folder contains items that have been deleted from the Deleted Items folder (soft-deleted items).
311-
- PurgedItems: (Cloud only) The Recoverable Items\Purges folder. This folder contains items that have been purged from the Recoverable Items folder (hard-deleted items).
311+
- PurgedItems: The Recoverable Items\Purges folder. This folder contains items that have been purged from the Recoverable Items folder (hard-deleted items).
312312
313313
If you don't use this parameter, the command will search all of these folders.
314314
315315
```yaml
316316
Type: RecoverableItemsFolderType
317-
Parameter Sets: OnPremises
317+
Parameter Sets: (All)
318318
Aliases:
319-
Accepted values: DeletedItems | RecoverableItems
320-
Applicable: Exchange Server 2016, Exchange Server 2019
319+
Accepted values: DeletedItems | RecoverableItems | PurgedItems
320+
Applicable: Exchange Server 2016, Exchange Server 2019, Exchange Online
321321

322322
Required: False
323323
Position: Named

exchange/exchange-ps/exchange/Set-Mailbox.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5249,10 +5249,11 @@ Accept wildcard characters: False
52495249
### -Type
52505250
The Type parameter specifies the mailbox type for the mailbox. Valid values are:
52515251

5252+
- Equipment
52525253
- Regular
52535254
- Room
5254-
- Equipment
52555255
- Shared
5256+
- Workspace (cloud-only)
52565257

52575258
```yaml
52585259
Type: ConvertibleMailboxSubType

exchange/exchange-ps/exchange/Set-User.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -724,9 +724,7 @@ The PermanentlyClearPreviousMailboxInfo switch specifies whether to clear the Ex
724724

725725
Clearing these attributes might be required in mailbox move and re-licensing scenarios between on-premises Exchange and Microsoft 365. For more information, see [Permanently Clear Previous Mailbox Info](https://techcommunity.microsoft.com/t5/exchange-team-blog/permanently-clear-previous-mailbox-info/ba-p/607619).
726726

727-
>
728-
[!CAUTION]
729-
> This switch permanently deletes the existing cloud mailbox and its associated archive, prevents you from reconnecting to the mailbox, and prevents you from recovering content from the mailbox.
727+
**Caution**: This switch permanently deletes the existing cloud mailbox and its associated archive, prevents you from reconnecting to the mailbox, and prevents you from recovering content from the mailbox.
730728

731729
```yaml
732730
Type: SwitchParameter

exchange/exchange-ps/exchange/exchange.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Exchange PowerShell is built on Windows PowerShell technology and provides a pow
4444

4545
### [Set-AdSiteLink](Set-AdSiteLink.md)
4646

47-
## advanced-threat-protection Cmdlets
47+
## defender-for-office-365 Cmdlets
4848
### [Disable-AntiPhishRule](Disable-AntiPhishRule.md)
4949

5050
### [Disable-SafeAttachmentRule](Disable-SafeAttachmentRule.md)

exchange/mapping/serviceMapping.json

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -14,50 +14,50 @@
1414
"Set-ADServerSettings": "active-directory",
1515
"Set-ADSite": "active-directory",
1616
"Set-AdSiteLink": "active-directory",
17-
"Disable-AntiPhishRule": "advanced-threat-protection",
18-
"Disable-SafeAttachmentRule": "advanced-threat-protection",
19-
"Disable-SafeLinksRule": "advanced-threat-protection",
20-
"Enable-AntiPhishRule": "advanced-threat-protection",
21-
"Enable-SafeAttachmentRule": "advanced-threat-protection",
22-
"Enable-SafeLinksRule": "advanced-threat-protection",
23-
"Get-AdvancedThreatProtectionDocumentDetail": "advanced-threat-protection",
24-
"Get-AdvancedThreatProtectionDocumentReport": "advanced-threat-protection",
25-
"Get-AdvancedThreatProtectionTrafficReport": "advanced-threat-protection",
26-
"Get-AntiPhishPolicy": "advanced-threat-protection",
27-
"Get-AntiPhishRule": "advanced-threat-protection",
28-
"Get-AtpPolicyForO365": "advanced-threat-protection",
29-
"Get-ATPTotalTrafficReport": "advanced-threat-protection",
30-
"Get-MailDetailATPReport": "advanced-threat-protection",
31-
"Get-MailTrafficATPReport": "advanced-threat-protection",
32-
"Get-PhishFilterPolicy": "advanced-threat-protection",
33-
"Get-SafeAttachmentPolicy": "advanced-threat-protection",
34-
"Get-SafeAttachmentRule": "advanced-threat-protection",
35-
"Get-SafeLinksAggregateReport": "advanced-threat-protection",
36-
"Get-SafeLinksDetailRepor": "advanced-threat-protection",
37-
"Get-SafeLinksPolicy": "advanced-threat-protection",
38-
"Get-SafeLinksRule": "advanced-threat-protection",
39-
"Get-SpoofMailReport": "advanced-threat-protection",
40-
"Get-UrlTrace": "advanced-threat-protection",
41-
"New-AntiPhishPolicy": "advanced-threat-protection",
42-
"New-AntiPhishRule": "advanced-threat-protection",
43-
"New-SafeAttachmentPolicy": "advanced-threat-protection",
44-
"New-SafeAttachmentRule": "advanced-threat-protection",
45-
"New-SafeLinksPolicy": "advanced-threat-protection",
46-
"New-SafeLinksRule": "advanced-threat-protection",
47-
"Remove-AntiPhishPolicy": "advanced-threat-protection",
48-
"Remove-AntiPhishRule": "advanced-threat-protection",
49-
"Remove-SafeAttachmentPolicy": "advanced-threat-protection",
50-
"Remove-SafeAttachmentRule": "advanced-threat-protection",
51-
"Remove-SafeLinksPolicy": "advanced-threat-protection",
52-
"Remove-SafeLinksRule": "advanced-threat-protection",
53-
"Set-AntiPhishPolicy": "advanced-threat-protection",
54-
"Set-AntiPhishRule": "advanced-threat-protection",
55-
"Set-AtpPolicyForO365": "advanced-threat-protection",
56-
"Set-PhishFilterPolicy": "advanced-threat-protection",
57-
"Set-SafeAttachmentPolicy": "advanced-threat-protection",
58-
"Set-SafeAttachmentRule": "advanced-threat-protection",
59-
"Set-SafeLinksPolicy": "advanced-threat-protection",
60-
"Set-SafeLinksRule": "advanced-threat-protection",
17+
"Disable-AntiPhishRule": "defender-for-office-365",
18+
"Disable-SafeAttachmentRule": "defender-for-office-365",
19+
"Disable-SafeLinksRule": "defender-for-office-365",
20+
"Enable-AntiPhishRule": "defender-for-office-365",
21+
"Enable-SafeAttachmentRule": "defender-for-office-365",
22+
"Enable-SafeLinksRule": "defender-for-office-365",
23+
"Get-AdvancedThreatProtectionDocumentDetail": "defender-for-office-365",
24+
"Get-AdvancedThreatProtectionDocumentReport": "defender-for-office-365",
25+
"Get-AdvancedThreatProtectionTrafficReport": "defender-for-office-365",
26+
"Get-AntiPhishPolicy": "defender-for-office-365",
27+
"Get-AntiPhishRule": "defender-for-office-365",
28+
"Get-AtpPolicyForO365": "defender-for-office-365",
29+
"Get-ATPTotalTrafficReport": "defender-for-office-365",
30+
"Get-MailDetailATPReport": "defender-for-office-365",
31+
"Get-MailTrafficATPReport": "defender-for-office-365",
32+
"Get-PhishFilterPolicy": "defender-for-office-365",
33+
"Get-SafeAttachmentPolicy": "defender-for-office-365",
34+
"Get-SafeAttachmentRule": "defender-for-office-365",
35+
"Get-SafeLinksAggregateReport": "defender-for-office-365",
36+
"Get-SafeLinksDetailRepor": "defender-for-office-365",
37+
"Get-SafeLinksPolicy": "defender-for-office-365",
38+
"Get-SafeLinksRule": "defender-for-office-365",
39+
"Get-SpoofMailReport": "defender-for-office-365",
40+
"Get-UrlTrace": "defender-for-office-365",
41+
"New-AntiPhishPolicy": "defender-for-office-365",
42+
"New-AntiPhishRule": "defender-for-office-365",
43+
"New-SafeAttachmentPolicy": "defender-for-office-365",
44+
"New-SafeAttachmentRule": "defender-for-office-365",
45+
"New-SafeLinksPolicy": "defender-for-office-365",
46+
"New-SafeLinksRule": "defender-for-office-365",
47+
"Remove-AntiPhishPolicy": "defender-for-office-365",
48+
"Remove-AntiPhishRule": "defender-for-office-365",
49+
"Remove-SafeAttachmentPolicy": "defender-for-office-365",
50+
"Remove-SafeAttachmentRule": "defender-for-office-365",
51+
"Remove-SafeLinksPolicy": "defender-for-office-365",
52+
"Remove-SafeLinksRule": "defender-for-office-365",
53+
"Set-AntiPhishPolicy": "defender-for-office-365",
54+
"Set-AntiPhishRule": "defender-for-office-365",
55+
"Set-AtpPolicyForO365": "defender-for-office-365",
56+
"Set-PhishFilterPolicy": "defender-for-office-365",
57+
"Set-SafeAttachmentPolicy": "defender-for-office-365",
58+
"Set-SafeAttachmentRule": "defender-for-office-365",
59+
"Set-SafeLinksPolicy": "defender-for-office-365",
60+
"Set-SafeLinksRule": "defender-for-office-365",
6161
"Add-AttachmentFilterEntry": "antispam-antimalware",
6262
"Add-ContentFilterPhrase": "antispam-antimalware",
6363
"Add-IPAllowListEntry": "antispam-antimalware",

0 commit comments

Comments
 (0)