Skip to content

Commit 5ecfacf

Browse files
authored
Merge branch 'main' into main
2 parents 5705ad2 + 38ab9f2 commit 5ecfacf

File tree

318 files changed

+1986
-667
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

318 files changed

+1986
-667
lines changed

.openpublishing.publish.config.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"docset_name": "exchange-ps",
3838
"locale": "en-us",
3939
"monikerPath": [
40-
"mapping/MAML2Yaml/monikerMapping.json"
40+
"mapping/monikerMapping.json"
4141
],
4242
"moniker_ranges": [],
4343
"monikers": [],
@@ -46,8 +46,8 @@
4646
"type_mapping": {
4747
"Conceptual": "Content",
4848
"ManagedReference": "Content",
49-
"PowershellCmdlet": "Content",
50-
"PowershellModule": "Content",
49+
"PowerShellCmdlet1": "Content",
50+
"PowerShellModule1": "Content",
5151
"RestApi": "Content"
5252
},
5353
"version": 0
@@ -86,7 +86,7 @@
8686
"docset_name": "skype-ps",
8787
"locale": "en-us",
8888
"monikerPath": [
89-
"mapping/MAML2Yaml/monikerMapping.json"
89+
"mapping/monikerMapping.json"
9090
],
9191
"moniker_ranges": [],
9292
"monikers": [],
@@ -95,8 +95,8 @@
9595
"type_mapping": {
9696
"Conceptual": "Content",
9797
"ManagedReference": "Content",
98-
"PowershellCmdlet": "Content",
99-
"PowershellModule": "Content",
98+
"PowerShellCmdlet1": "Content",
99+
"PowerShellModule1": "Content",
100100
"RestApi": "Content"
101101
},
102102
"version": 0
@@ -108,7 +108,7 @@
108108
"docset_name": "spmt-ps",
109109
"locale": "en-us",
110110
"monikerPath": [
111-
"mapping/MAML2Yaml/monikerMapping.json"
111+
"mapping/monikerMapping.json"
112112
],
113113
"moniker_ranges": [],
114114
"monikers": [],
@@ -117,8 +117,8 @@
117117
"type_mapping": {
118118
"Conceptual": "Content",
119119
"ManagedReference": "Content",
120-
"PowershellCmdlet": "Content",
121-
"PowershellModule": "Content",
120+
"PowerShellCmdlet1": "Content",
121+
"PowerShellModule1": "Content",
122122
"RestApi": "Content"
123123
},
124124
"version": 0
@@ -135,7 +135,7 @@
135135
"docset_name": "teams-ps",
136136
"locale": "en-us",
137137
"monikerPath": [
138-
"mapping/MAML2Yaml/monikerMapping.json"
138+
"mapping/monikerMapping.json"
139139
],
140140
"moniker_ranges": [],
141141
"monikers": [],
@@ -144,8 +144,8 @@
144144
"type_mapping": {
145145
"Conceptual": "Content",
146146
"ManagedReference": "Content",
147-
"PowershellCmdlet": "Content",
148-
"PowershellModule": "Content",
147+
"PowerShellCmdlet1": "Content",
148+
"PowerShellModule1": "Content",
149149
"RestApi": "Content"
150150
},
151151
"version": 0
@@ -162,7 +162,7 @@
162162
"docset_name": "whiteboard-ps",
163163
"locale": "en-us",
164164
"monikerPath": [
165-
"mapping/MAML2Yaml/monikerMapping.json"
165+
"mapping/monikerMapping.json"
166166
],
167167
"moniker_ranges": [],
168168
"monikers": [],
@@ -171,8 +171,8 @@
171171
"type_mapping": {
172172
"Conceptual": "Content",
173173
"ManagedReference": "Content",
174-
"PowershellCmdlet": "Content",
175-
"PowershellModule": "Content",
174+
"PowerShellCmdlet1": "Content",
175+
"PowerShellModule1": "Content",
176176
"RestApi": "Content"
177177
},
178178
"version": 0
@@ -199,4 +199,4 @@
199199
"template_folder": "_themes.pdf"
200200
}
201201
}
202-
}
202+
}

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

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,24 @@ Certificate based authentication (CBA) or app-only authentication as described i
3333
>
3434
> For instructions on how to install or update the module, see [Install and maintain the Exchange Online PowerShell module](exchange-online-powershell-v2.md#install-and-maintain-the-exchange-online-powershell-module). For instructions on how to use the module in Azure automation, see [Manage modules in Azure Automation](/azure/automation/shared-resources/modules).
3535
>
36+
> - CBA or app-only authentication is available in Office 365 operated by 21Vianet in China.
37+
>
3638
> - REST API connections in the Exchange Online PowerShell V3 module require the PowerShellGet and PackageManagement modules. For more information, see [PowerShellGet for REST-based connections in Windows](exchange-online-powershell-v2.md#powershellget-for-rest-api-connections-in-windows).
3739
>
3840
> If the procedures in this article don't work for you, verify that you don't have Beta versions of the PackageManagement or PowerShellGet modules installed by running the following command: `Get-InstalledModule PackageManagement -AllVersions; Get-InstalledModule PowerShellGet -AllVersions`.
3941
>
4042
> - In Exchange Online PowerShell, you can't use the procedures in this article with the following Microsoft 365 Group cmdlets:
41-
> - [New-UnifiedGroup](/powershell/module/exchange/new-unifiedgroup)
42-
> - [Remove-UnifiedGroup](/powershell/module/exchange/remove-unifiedgroup)
43-
> - [Remove-UnifiedGroupLinks](/powershell/module/exchange/remove-unifiedgrouplinks)
44-
> - [Add-UnifiedGroupLinks](/powershell/module/exchange/add-unifiedgrouplinks)
43+
> - [New-UnifiedGroup](/powershell/module/exchangepowershell/new-unifiedgroup)
44+
> - [Remove-UnifiedGroup](/powershell/module/exchangepowershell/remove-unifiedgroup)
45+
> - [Remove-UnifiedGroupLinks](/powershell/module/exchangepowershell/remove-unifiedgrouplinks)
46+
> - [Add-UnifiedGroupLinks](/powershell/module/exchangepowershell/add-unifiedgrouplinks)
4547
>
4648
> You can use Microsoft Graph to replace most of the functionality from those cmdlets. For more information, see [Working with groups in Microsoft Graph](/graph/api/resources/groups-overview).
4749
>
4850
> - In Security & Compliance PowerShell, you can't use the procedures in this article with the following Microsoft 365 Group cmdlets:
49-
> - [Get-ComplianceSearchAction](/powershell/module/exchange/get-compliancesearchaction)
50-
> - [New-ComplianceSearch](/powershell/module/exchange/new-compliancesearch)
51-
> - [Start-ComplianceSearch](/powershell/module/exchange/start-compliancesearch)
51+
> - [Get-ComplianceSearchAction](/powershell/module/exchangepowershell/get-compliancesearchaction)
52+
> - [New-ComplianceSearch](/powershell/module/exchangepowershell/new-compliancesearch)
53+
> - [Start-ComplianceSearch](/powershell/module/exchangepowershell/start-compliancesearch)
5254
>
5355
> - Delegated scenarios are supported in Exchange Online. The recommended method for connecting with delegation is using GDAP and App Consent. For more information, see [Use the Exchange Online PowerShell v3 Module with GDAP and App Consent](/powershell/partnercenter/exchange-online-gdap-app). You can also use multi-tenant applications when CSP relationships are not created with the customer. The required steps for using multi-tenant applications are called out within the regular instructions in this article.
5456
>
@@ -523,7 +525,7 @@ To assign custom role groups to the application using service principals, do the
523525
$SP = Get-ServicePrincipal -Identity "SP for Azure AD App ExO PowerShell CBA"
524526
```
525527

526-
For detailed syntax and parameter information, see [New-ServicePrincipal](/powershell/module/exchange/new-serviceprincipal).
528+
For detailed syntax and parameter information, see [New-ServicePrincipal](/powershell/module/exchangepowershell/new-serviceprincipal).
527529

528530
3. In Exchange Online PowerShell or Security & Compliance PowerShell, run the following command to add the service principal as a member of the custom role group:
529531

@@ -537,4 +539,4 @@ To assign custom role groups to the application using service principals, do the
537539
Add-RoleGroupMember -Identity "Contoso View-Only Recipients" -Member $SP.Identity
538540
```
539541

540-
For detailed syntax and parameter information, see [Add-RoleGroupMember](/powershell/module/exchange/add-rolegroupmember).
542+
For detailed syntax and parameter information, see [Add-RoleGroupMember](/powershell/module/exchangepowershell/add-rolegroupmember).

exchange/docs-conceptual/client-advanced-settings.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ description: "Security & Compliance PowerShell advanced settings for Microsoft P
2121

2222
This article contains the [Security & Compliance PowerShell](/powershell/exchange/office-365-scc/office-365-scc-powershell) advanced settings that are supported by [Microsoft Purview Information Protection client](/purview/information-protection-client) when you use the following cmdlets:
2323

24-
- [New-Label](/powershell/module/exchange/new-label) or [Set-Label](/powershell/module/exchange/set-label)
25-
- [New-LabelPolicy](/powershell/module/exchange/new-labelpolicy) or [Set-LabelPolicy](/powershell/module/exchange/set-labelpolicy)
24+
- [New-Label](/powershell/module/exchangepowershell/new-label) or [Set-Label](/powershell/module/exchangepowershell/set-label)
25+
- [New-LabelPolicy](/powershell/module/exchangepowershell/new-labelpolicy) or [Set-LabelPolicy](/powershell/module/exchangepowershell/set-labelpolicy)
2626

2727
The advanced settings that are supported by sensitivity labels built into Microsoft 365 apps and services are included on the cmdlet page itself. You might also find useful [PowerShell tips for specifying the advanced settings](/purview/create-sensitivity-labels#powershell-tips-for-specifying-the-advanced-settings).
2828

@@ -317,11 +317,11 @@ Use this advanced setting in conjunction with *ScannerMinCPU* to limit CPU consu
317317

318318
- Value: \<number>**
319319

320-
The value is set to **100** by default, which means there is no limit of maximum CPU consumption. In this case, the scanner process will try to use all available CPU time to maximize your scan rates.
320+
The value is set to **100** by default, which means there is no limit of maximum CPU consumption. In this case, the scanner process tries to use all available CPU time to maximize your scan rates.
321321

322-
If you set **ScannerMaxCPU** to less than 100, the scanner will monitor the CPU consumption over the last 30 minutes. If the average CPU crossed the limit you set, it will start to reduce the number of threads allocated for new files.
322+
If you set **ScannerMaxCPU** to less than 100, the scanner monitors the CPU consumption over the last 30 minutes. If the average CPU crossed the limit you set, it starts to reduce the number of threads allocated for new files.
323323

324-
The limit on the number of threads will continue as long as CPU consumption is higher than the limit set for **ScannerMaxCPU**.
324+
The limit on the number of threads continues as long as CPU consumption is higher than the limit set for **ScannerMaxCPU**.
325325

326326
## ScannerMinCPU
327327

@@ -334,7 +334,7 @@ Used only if *ScannerMaxCPU* is not equal to 100, and cannot be set to a number
334334

335335
We recommend keeping **ScannerMinCPU** set at least 15 points lower than the value of *ScannerMaxCPU*.
336336

337-
The value is set to **50** by default, which means that if CPU consumption in the last 30 minutes when lower than this value, the scanner will start adding new threads to scan more files in parallel, until the CPU consumption reaches the level you have set for *ScannerMaxCPU*-15.
337+
The value is set to **50** by default, which means that if CPU consumption in the last 30 minutes when lower than this value, the scanner starts adding new threads to scan more files in parallel, until the CPU consumption reaches the level you have set for *ScannerMaxCPU*-15.
338338

339339
## ScannerConcurrencyLevel
340340

@@ -361,17 +361,17 @@ Set-LabelPolicy -Identity Scanner -AdvancedSettings @{ScannerConcurrencyLevel="8
361361

362362
By default, the information protection scanner scans all relevant files. However, you might want to define specific files to be skipped, such as for archived files or files that have been moved.
363363

364-
Enable the scanner to skip specific files based on their file attributes by using the **ScannerFSAttributesToSkip** advanced setting. In the setting value, list the file attributes that will enable the file to be skipped when they are all set to **true**. This list of file attributes uses the AND logic.
364+
Enable the scanner to skip specific files based on their file attributes by using the **ScannerFSAttributesToSkip** advanced setting. In the setting value, list the file attributes that enable the file to be skipped when they are all set to **true**. This list of file attributes uses the AND logic.
365365

366366
Example PowerShell commands, where your label policy is named "Global".
367367

368-
**Skip files that are both read-only and archived**
368+
**Skip files that are both read-only and archived**:
369369

370370
```PowerShell
371371
Set-LabelPolicy -Identity Global -AdvancedSettings @{ ScannerFSAttributesToSkip =" FILE_ATTRIBUTE_READONLY, FILE_ATTRIBUTE_ARCHIVE"}
372372
```
373373

374-
**Skip files that are either read-only or archived**
374+
**Skip files that are either read-only or archived**:
375375

376376
To use an OR logic, run the same property multiple times. For example:
377377

exchange/docs-conceptual/cmdlet-property-sets.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ The available property sets for the **Get-EXOCasMailbox** cmdlet and the propert
4949

5050
For more information, see:
5151

52-
- [Get-EXOCASMailbox](/powershell/module/exchange/get-exocasmailbox)
53-
- [Get-CASMailbox](/powershell/module/exchange/get-casmailbox)
52+
- [Get-EXOCASMailbox](/powershell/module/exchangepowershell/get-exocasmailbox)
53+
- [Get-CASMailbox](/powershell/module/exchangepowershell/get-casmailbox)
5454

5555
## Get-EXOMailbox property sets
5656

@@ -86,8 +86,8 @@ The available property sets for the **Get-EXOMailbox** cmdlet and the properties
8686

8787
For more information, see:
8888

89-
- [Get-EXOMailbox](/powershell/module/exchange/get-exomailbox)
90-
- [Get-Mailbox](/powershell/module/exchange/get-mailbox)
89+
- [Get-EXOMailbox](/powershell/module/exchangepowershell/get-exomailbox)
90+
- [Get-Mailbox](/powershell/module/exchangepowershell/get-mailbox)
9191

9292
## Get-EXOMailboxStatistics property sets
9393

@@ -100,8 +100,8 @@ The available property sets for the **Get-EXOMailboxStatistics** cmdlet and the
100100

101101
For more information, see:
102102

103-
- [Get-EXOMailboxStatistics](/powershell/module/exchange/get-exomailboxstatistics)
104-
- [Get-MailboxStatistics](/powershell/module/exchange/get-mailboxstatistics)
103+
- [Get-EXOMailboxStatistics](/powershell/module/exchangepowershell/get-exomailboxstatistics)
104+
- [Get-MailboxStatistics](/powershell/module/exchangepowershell/get-mailboxstatistics)
105105

106106
## Get-EXORecipient property sets
107107

@@ -121,5 +121,5 @@ The available property sets for the **Get-EXORecipient** cmdlet and the properti
121121

122122
For more information, see:
123123

124-
- [Get-EXORecipient](/powershell/module/exchange/get-exorecipient)
125-
- [Get-Recipient](/powershell/module/exchange/get-recipient)
124+
- [Get-EXORecipient](/powershell/module/exchangepowershell/get-exorecipient)
125+
- [Get-Recipient](/powershell/module/exchangepowershell/get-recipient)

exchange/docs-conceptual/connect-exo-powershell-managed-identity.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ The rest of this article explains how to connect using managed identity, and the
2828
> [!NOTE]
2929
> In Exchange Online PowerShell, you can't use the procedures in this article with the following Microsoft 365 Group cmdlets:
3030
>
31-
> - [New-UnifiedGroup](/powershell/module/exchange/new-unifiedgroup)
32-
> - [Remove-UnifiedGroup](/powershell/module/exchange/remove-unifiedgroup)
33-
> - [Remove-UnifiedGroupLinks](/powershell/module/exchange/remove-unifiedgrouplinks)
34-
> - [Add-UnifiedGroupLinks](/powershell/module/exchange/add-unifiedgrouplinks)
31+
> - [New-UnifiedGroup](/powershell/module/exchangepowershell/new-unifiedgroup)
32+
> - [Remove-UnifiedGroup](/powershell/module/exchangepowershell/remove-unifiedgroup)
33+
> - [Remove-UnifiedGroupLinks](/powershell/module/exchangepowershell/remove-unifiedgrouplinks)
34+
> - [Add-UnifiedGroupLinks](/powershell/module/exchangepowershell/add-unifiedgrouplinks)
3535
>
3636
> You can use Microsoft Graph to replace most of the functionality from those cmdlets. For more information, see [Working with groups in Microsoft Graph](/graph/api/resources/groups-overview).
3737
>
@@ -68,7 +68,7 @@ The first command in the PowerShell runbook must be the `Connect-ExchangeOnline.
6868
Connect-ExchangeOnline -ManagedIdentity -Organization contoso.onmicrosoft.com
6969
```
7070

71-
After that, as a test, you can start with as simple, low-impact command in the runbook before moving on to more complex commands or scripts. For example:
71+
After that, as a test, you can start with as simple, low risk command in the runbook before moving on to more complex commands or scripts. For example:
7272

7373
```powershell
7474
Get-AcceptedDomain | Format-Table Name
@@ -118,7 +118,7 @@ Connect-ExchangeOnline -ManagedIdentity -Organization contoso.onmicrosoft.com -M
118118

119119
You get the ManagedIdentityAccount value from [Step 3: Store the user-assigned managed identity in a variable](#step-3-store-the-user-assigned-managed-identity-in-a-variable).
120120

121-
After that, as a test, you can start with as simple, low-impact command in the runbook before moving on to more complex commands or scripts. For example:
121+
After that, as a test, you can start with as simple, low risk command in the runbook before moving on to more complex commands or scripts. For example:
122122

123123
```powershell
124124
Get-AcceptedDomain | Format-Table Name
@@ -285,7 +285,7 @@ To verify that the module imported successfully, run the following command:
285285
Get-AzAutomationModule -ResourceGroupName ContosoRG -AutomationAccountName ContosoAzAuto1 -Name ExchangeOnlineManagement
286286
```
287287

288-
During the import, the ProvisioningState property will have the value Creating. When the module import is complete, the value will change to Succeeded.
288+
During the import, the ProvisioningState property has the value Creating. When the module import is complete, the value changes to Succeeded.
289289

290290
For detailed syntax and parameter information, see [New-AzAutomationModule](/powershell/module/az.automation/new-azautomationmodule).
291291

exchange/docs-conceptual/connect-to-exchange-online-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The command that you need to run uses the following syntax:
6161
Connect-ExchangeOnline [-UserPrincipalName <UPN>] [-ExchangeEnvironmentName <Value>] [-ShowBanner:$false] [-LoadCmdletHelp] [-DelegatedOrganization <String>] [-SkipLoadingFormatData] [-DisableWAM]
6262
```
6363

64-
For detailed syntax and parameter information, see [Connect-ExchangeOnline](/powershell/module/exchange/connect-exchangeonline).
64+
For detailed syntax and parameter information, see [Connect-ExchangeOnline](/powershell/module/exchangepowershell/connect-exchangeonline).
6565

6666
- _\<UPN\>_ is your account in user principal name format (for example, `[email protected]`).
6767

exchange/docs-conceptual/connect-to-exo-powershell-c-sharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ void ParallelConnectionsToExchangeOnline()
207207

208208
// Set the ThreadOptions to reuse the same threads for the runspaces so that
209209
210-
// the Exchange Online cmdlets will be available after running Connect-ExchangeOnline in each runspace.
210+
// the Exchange Online cmdlets are available after running Connect-ExchangeOnline in each runspace.
211211
212212
pool.ThreadOptions = PSThreadOptions.ReuseThread;
213213

exchange/docs-conceptual/connect-to-scc-powershell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The command that you need to run uses the following syntax:
5454
Connect-IPPSSession -UserPrincipalName <UPN> [-ConnectionUri <URL>] [-AzureADAuthorizationEndpointUri <URL>] [-DelegatedOrganization <String>] [-PSSessionOption $ProxyOptions]
5555
```
5656

57-
For detailed syntax and parameter information, see [Connect-IPPSSession](/powershell/module/exchange/connect-ippssession).
57+
For detailed syntax and parameter information, see [Connect-IPPSSession](/powershell/module/exchangepowershell/connect-ippssession).
5858

5959
- _\<UPN\>_ is your account in user principal name format (for example, `[email protected]`).
6060

0 commit comments

Comments
 (0)