Skip to content

Commit 81132fb

Browse files
authored
Merge branch 'master' into patch-3
2 parents fdbdf41 + cfc7054 commit 81132fb

19 files changed

+406
-151
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-M365DataAtRestEncryptionPolicy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Get-M365DataAtRestEncryptionPolicy [[-Identity] <DataEncryptionPolicyIdParameter
3333
## DESCRIPTION
3434
M365 data-at-rest encryption policy cmdlets are accessible to compliance administrator role as part of the Exchange Online infrastructure. For more information, see [Overview of M365 Customer Key at the tenant level](https://docs.microsoft.com/microsoft-365/compliance/customer-key-tenant-level#get-policy-details).
3535

36-
You can create and assign a data-at-rest encryption policy at the tenant level by using the appropriate M365DataAtRestEncryptionPolicy cmdlets in Exchange Online PowerShell.
36+
You can create and assign a Microsoft 365 data-at-rest encryption policy at the tenant level by using the appropriate M365DataAtRestEncryptionPolicy cmdlets in Exchange Online PowerShell.
3737

3838
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).
3939

@@ -44,7 +44,7 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
4444
Get-M365DataAtRestEncryptionPolicy
4545
```
4646

47-
This example returns a summary list of all data-at-rest encryption policies.
47+
This example returns a summary list of all Microsoft 365 data-at-rest encryption policies.
4848

4949
### Example 2
5050
```powershell
@@ -56,7 +56,7 @@ This example returns detailed information about the policy named Contoso Corpora
5656
## PARAMETERS
5757

5858
### -Identity
59-
The Identity parameter specifies the data-at-rest encryption policy that you want to view. You can use any value that uniquely identifies the policy. For example:
59+
The Identity parameter specifies the Microsoft 365 data-at-rest encryption policy that you want to view. You can use any value that uniquely identifies the policy. For example:
6060

6161
- Name
6262
- Distinguished name (DN)

exchange/exchange-ps/exchange/Get-M365DataAtRestEncryptionPolicyAssignment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Get-M365DataAtRestEncryptionPolicyAssignment [<CommonParameters>]
2727
```
2828

2929
## DESCRIPTION
30-
This cmdlet lists the policy that's currently assigned to the tenant.
30+
This cmdlet lists the Microsoft 365 data-at-rest encryption policy that's currently assigned to the tenant.
3131

3232
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).
3333

@@ -38,14 +38,14 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
3838
Get-M365DataAtRestEncryptionPolicyAssignment
3939
```
4040

41-
This example returns a summary list of all data-at-rest encryption policy assignments.
41+
This example returns a summary list of all Microsoft 365 data-at-rest encryption policy assignments.
4242

4343
### Example 2
4444
```powershell
4545
Get-M365DataAtRestEncryptionPolicyAssignment | Format-List
4646
```
4747

48-
This example returns detailed information for all data-at-rest encryption policy assignments.
48+
This example returns detailed information for all Microsoft 365 data-at-rest encryption policy assignments.
4949

5050
### CommonParameters
5151
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).

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/New-M365DataAtRestEncryptionPolicy.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,23 @@ New-M365DataAtRestEncryptionPolicy [-Name] <String> -AzureKeyIDs <MultiValuedPro
3333
```
3434

3535
## DESCRIPTION
36+
Use the New-M365DataAtRestEncryptionPolicy cmdlet to create a new Microsoft 365 data-at-rest encryption policy. For more information, see [Overview of M365 Customer Key at the tenant level](https://docs.microsoft.com/microsoft-365/compliance/customer-key-tenant-level#get-policy-details).
37+
3638
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).
3739

3840
## EXAMPLES
3941

4042
### Example 1
4143
```powershell
42-
New-M365DataAtRestEncryptionPolicy -Name "US Mailboxes" -AzureKeyIDs "https://contoso.vault.azure.net/keys/key1/",https://contoso.vault.azure.net/keys/key2/" -Description "Root key for mailboxes located in US territories"
44+
New-M365DataAtRestEncryptionPolicy -Name "Default_Policy" -AzureKeyIDs "https://contosoWestUSvault01.vault.azure.net/keys/Key_01","https://contosoEastUSvault01.vault.azure.net/keys/Key_02" -Description "Tenant default policy"
4345
```
4446

45-
This example creates a data-at-rest encryption policy named US Mailboxes with the specified Azure Key Vault keys and description.
47+
This example creates a Microsoft 365 data-at-rest encryption policy named Default_Policy with the specified Azure Key Vault keys and description.
4648

4749
## PARAMETERS
4850

4951
### -Name
50-
The Name parameter specifies a unique name for the data-at-rest encryption policy. If the value contains spaces, enclose the value in quotation marks (").
52+
The Name parameter specifies a unique name for the Microsoft 365 data-at-rest encryption policy. If the value contains spaces, enclose the value in quotation marks (").
5153

5254
```yaml
5355
Type: String

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

0 commit comments

Comments
 (0)