Skip to content

Commit 39adc28

Browse files
authored
Merge pull request MicrosoftDocs#4831 from MicrosoftDocs/master
Master to Live
2 parents 2255a51 + 6f41d1c commit 39adc28

25 files changed

+836
-717
lines changed

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

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ description: "Learn how to download and use the Exchange Online PowerShell V2 mo
1818

1919
# Use the Exchange Online PowerShell V2 module
2020

21-
The Exchange Online PowerShell V2 module (abbreviated as the EXO V2 module) enables admins to connect to their Exchange Online environment in Office 365 to retrieve data, create new objects, update existing objects, remove objects as well as configure Exchange Online & its features.
21+
The Exchange Online PowerShell V2 module (abbreviated as the EXO V2 module) enables admins to connect to their Exchange Online environment in Office 365 to retrieve data, create new objects, update existing objects, remove objects as well as configure Exchange Online and its features.
2222

2323
## Report bugs and issues
2424

@@ -34,9 +34,11 @@ Connect-ExchangeOnline -EnableErrorReporting -LogDirectoryPath <Path to store lo
3434

3535
## How the EXO V2 module works
3636

37-
The Exchange Online PowerShell V2 module contains a small set of new cmdlets that are optimized for bulk data retrieval scenarios (think: thousands and thousands of objects). It also contains the 700 or more older remote PowerShell cmdlets baked into the same module. Note that after you install the EXO V2 module from the PowerShell Gallery, you only see new cmdlets in the module. You'll see the older remote PowerShell cmdlets after you create a session to connect to your Exchange Online environment. All the cmdlets in the V2 module use Modern auth for authentication. You can't use Basic auth in the EXO V2 module.
37+
The Exchange Online PowerShell V2 module contains a small set of new cmdlets that are optimized for bulk data retrieval scenarios (think: thousands and thousands of objects). Until you create a session to connect to your Exchange Online organization, you'll only see these new cmdlets in the module. After you connect to your Exchange Online organization, you'll see all of the older remote PowerShell cmdlets.
3838

39-
The new cmdlets in the EXO V2 module are meant to replace their older, less efficient equivalents. However, the original cmdlets are still available in the EXO V2 module for backwards compatibility.
39+
The EXO V2 module use Modern authentication for all cmdlets. You can't use Basic authentication in the EXO V2 module; however, you still need to configure the Basic authentication setting in WinRM as described later in this topic.
40+
41+
The new cmdlets in the EXO V2 module are meant to replace their older, less efficient equivalents. However, the original cmdlets are still available in the EXO V2 module for backwards compatibility **after** you create a session to connect to your Exchange Online organization.
4042

4143
The new cmdlets in the EXO V2 module are listed in the following table:
4244

@@ -57,7 +59,7 @@ The new cmdlets in the EXO V2 module are listed in the following table:
5759

5860
You can download the EXO V2 module from the PowerShell gallery [here](https://www.powershellgallery.com/packages/ExchangeOnlineManagement/).
5961

60-
> [!NOTE]
62+
> [!NOTE]
6163
> The latest version of PowerShell that's currently supported for the EXO V2 module is PowerShell 5.1. Support for PowerShell 6.0 or later is currently a work in progress and will be released soon. This also implies that EXO PowerShell V2 module won't work in Linux or Mac as of now. Support for Linux and Mac is a work in progress and will be announced soon.
6264
6365
### What do you need to know before you begin?
@@ -88,7 +90,7 @@ You can download the EXO V2 module from the PowerShell gallery [here](https://ww
8890
winrm get winrm/config/client/auth
8991
```
9092

91-
If you don't see the value `Basic = true`, you need to run this command to enable basic authentication for WinRM:
93+
If you don't see the value `Basic = true`, you need to run this command to enable Basic authentication for WinRM:
9294

9395
```
9496
winrm set winrm/config/client/auth @{Basic="true"}
@@ -98,6 +100,9 @@ You can download the EXO V2 module from the PowerShell gallery [here](https://ww
98100

99101
> The WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration. Change the client configuration and try the request again.
100102
103+
> [!NOTE]
104+
> We never send the username and password combination here, but the Basic auth header is required to transport the session's OAuth token, since the client-side WinRM implementation has no support for OAuth.
105+
101106
### Install the EXO V2 module
102107

103108
To install the EXO V2 module for the first time, run the following commands:
@@ -123,11 +128,11 @@ To install the EXO V2 module for the first time, run the following commands:
123128
```
124129

125130
**Notes**:
126-
131+
127132
- You need to configure this setting only once on your computer. Read more about execution policies [here](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_execution_policies).
128-
133+
129134
- If you don't do this step, you'll receive the following error when you try to connect:
130-
135+
131136
> Files cannot be loaded because running scripts is disabled on this system. Provide a valid certificate with which to sign the files.
132137
133138
3. Close and re-open the elevated Windows PowerShell window to get the changes from the previous steps.
@@ -272,7 +277,7 @@ The following example returns all properties for the 10 mailboxes:
272277
Get-EXOMailbox -ResultSize 10 -PropertySets All
273278
```
274279

275-
> [!NOTE]
280+
> [!NOTE]
276281
> We highly discourage using the _PropertySets_ parameter with the value `All` because it slows down the cmdlet and reduces reliability. Always use the _PropertySets_ and _Properties_ parameters to retrieve only the requires properties.
277282
278283
## Release notes

exchange/exchange-ps/exchange/organization/Set-ExchangeServer.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,7 @@ Accept wildcard characters: False
183183
### -InternetWebProxyBypassList
184184
The InternetWebProxyBypassList parameter specifies a list of servers that bypass the web proxy server specified by the InternetWebProxy parameter. You identify the servers by their FQDN (for example, server01.contoso.com).
185185
186-
To enter multiple values and overwrite any existing FQDN entries, use the following syntax: \<FQDN1\>,\<FQDN2\>,...\<FQDNX\>.
187-
188-
To add or remove one or more values without affecting any existing FQDN entries, use the following syntax: @{Add="\<FQDN1\>","\<FQDN2\>"...; Remove="\<FQDN1\>","\<FQDN\>"...}.
186+
To enter multiple values and overwrite any existing FQDN entries, use the following syntax: @("host1.contoso.com","host2.contoso.com","host3.contoso.com").
189187
190188
The maximum number of servers you can enter with this parameter is 100.
191189

exchange/exchange-ps/exchange/organization/Set-OrganizationConfig.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Set-OrganizationConfig
3030
[-AppsForOfficeEnabled <Boolean>]
3131
[-AsyncSendEnabled <Boolean>]
3232
[-AuditDisabled <Boolean>]
33+
[-AutodiscoverPartialDirSync <Boolean>]
3334
[-AutoEnableArchiveMailbox <Boolean>]
3435
[-AutoExpandingArchive]
3536
[-BookingsEnabled <Boolean>]
@@ -542,6 +543,26 @@ Accept pipeline input: False
542543
Accept wildcard characters: False
543544
```
544545
546+
### -AutodiscoverPartialDirSync
547+
This parameter is available only in the cloud-based service.
548+
549+
The AutodiscoverPartialDirSync parameter is for scenarios where tenants have Directory Synced some of their Active Directory users into the cloud, but still have on-premises Exchange users that are not Directory Synced. Setting this parameter to $true will cause unknown users to be redirected to the on-premises endpoint and will allow on-premises users to discover their mailbox automatically. Online email addresses will be susceptible to enumeration. We recommend full Directory Sync for all Active Directory users and leaving this parameter with the default $false.
550+
551+
After you enable AutodiscoverPartialDirSync, it will take approximately 3 hours to fully saturate across the cloud.
552+
553+
```yaml
554+
Type: Boolean
555+
Parameter Sets: Default
556+
Aliases:
557+
Applicable: Exchange Online
558+
559+
Required: False
560+
Position: Named
561+
Default value: None
562+
Accept pipeline input: False
563+
Accept wildcard characters: False
564+
```
565+
545566
### -AutoEnableArchiveMailbox
546567
This parameter is available only in the cloud-based service.
547568

exchange/exchange-ps/exchange/policy-and-compliance-audit/Search-UnifiedAuditLog.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ The RecordType parameter filters the log entries by record type. Valid values ar
226226
227227
- AeD
228228
229-
- AirInvestigation
229+
- AirInvestigation
230230
231231
- ApplicationAudit
232232
@@ -244,9 +244,9 @@ The RecordType parameter filters the log entries by record type. Valid values ar
244244
245245
- ComplianceDLPSharePointClassification
246246
247-
- ComplianceSupervisionExchange
247+
- ComplianceSupervisionExchange
248248
249-
- CustomerKeyServiceEncryption
249+
- CustomerKeyServiceEncryption
250250
251251
- CRM
252252
@@ -258,7 +258,7 @@ The RecordType parameter filters the log entries by record type. Valid values ar
258258
259259
- Discovery
260260
261-
- DLPEndpoint
261+
- DLPEndpoint
262262
263263
- ExchangeAdmin
264264
@@ -276,15 +276,15 @@ The RecordType parameter filters the log entries by record type. Valid values ar
276276
277277
- InformationWorkerProtection
278278
279-
- InformationBarrierPolicyApplication
279+
- InformationBarrierPolicyApplication
280280
281281
- Kaizala
282282
283283
- LabelExplorer
284284
285285
- MailSubmission
286286
287-
- MicrosoftFlow
287+
- MicrosoftFlow
288288
289289
- MicrosoftForms
290290
@@ -294,7 +294,7 @@ The RecordType parameter filters the log entries by record type. Valid values ar
294294
295295
- MicrosoftTeamsAdmin
296296
297-
- MicrosoftTeamsDevice
297+
- MicrosoftTeamsDevice
298298
299299
- MicrosoftTeamsAddOns
300300
@@ -320,7 +320,7 @@ The RecordType parameter filters the log entries by record type. Valid values ar
320320
321321
- PowerAppsPlan
322322
323-
- Quarantine
323+
- Quarantine
324324
325325
- SecurityComplianceAlerts
326326
@@ -332,15 +332,15 @@ The RecordType parameter filters the log entries by record type. Valid values ar
332332
333333
- SharePointCommentOperation
334334
335-
- SharePointContentTypeOperation
335+
- SharePointContentTypeOperation
336336
337337
- SharePointFileOperation
338338
339339
- SharePointFieldOperation
340340
341341
- SharePointListOperation
342342
343-
- SharePointListItemOperation
343+
- SharePointListItemOperation
344344
345345
- SharePointSharingOperation
346346
@@ -485,8 +485,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
485485
###
486486
The OutVariable parameter accepts objects of type ArrayList. Here's an example of how to use it:
487487
488-
$start = (Get-Date).AddDays(-1); $end = (Get-Date).AddDays(-0.5); $auditData = New-Object System.Collections.ArrayList;
489-
Search-UnifiedAuditLog -StartDate $start -EndDate $end -OutVariable +auditData | Out-Null
488+
$start = (Get-Date).AddDays(-1); $end = (Get-Date).AddDays(-0.5); $auditData = New-Object System.Collections.ArrayList; Search-UnifiedAuditLog -StartDate $start -EndDate $end -OutVariable +auditData | Out-Null
490489
491490
## NOTES
492491

0 commit comments

Comments
 (0)