Skip to content

Commit ccb5305

Browse files
authored
Merge branch 'master' into patch-9
2 parents 02d5df0 + 5354e6c commit ccb5305

File tree

7 files changed

+74
-31
lines changed

7 files changed

+74
-31
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,14 @@ For a detailed visual flow about creating applications in Azure AD, see <https:/
186186

187187
Create a self-signed x.509 certificate using one of the following methods:
188188

189-
- (Recommended) Use the [New-SelfSignedCertificate](https://docs.microsoft.com/powershell/module/pkiclient/new-selfsignedcertificate), [Export-Certificate](https://docs.microsoft.com/powershell/module/pkiclient/export-certificate) and [Export-PfxCertificate](https://docs.microsoft.com/powershell/module/pkiclient/export-pfxcertificate) cmdlets in an elevated (run as administrator) Windows PowerShell session to request a self-signed certificate and export it to `.cer` and `.pfx` (SHA1 by default).
189+
- (Recommended) Use the [New-SelfSignedCertificate](https://docs.microsoft.com/powershell/module/pkiclient/new-selfsignedcertificate), [Export-Certificate](https://docs.microsoft.com/powershell/module/pkiclient/export-certificate) and [Export-PfxCertificate](https://docs.microsoft.com/powershell/module/pkiclient/export-pfxcertificate) cmdlets in an elevated (run as administrator) Windows PowerShell session to request a self-signed certificate and export it to `.cer` and `.pfx` (SHA1 by default). For example:
190190

191191
```powershell
192192
# Create certificate
193193
$mycert = New-SelfSignedCertificate -DnsName "contoso.org" -CertStoreLocation "cert:\LocalMachine\My" -NotAfter (Get-Date).AddYears(1) -KeySpec KeyExchange
194194
195195
# Export certificate to .pfx file
196-
$mycert | Export-PfxCertificate -FilePath mycert.pfx -Password $(ConvertTo-SecureString -String "P@s$w0rd1234" -AsPlainText -Force)
196+
$mycert | Export-PfxCertificate -FilePath mycert.pfx -Password $(ConvertTo-SecureString -String "P@ssw0Rd1234" -AsPlainText -Force)
197197
198198
# Export certificate to .cer file
199199
$mycert | Export-Certificate -FilePath mycert.cer

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

Lines changed: 51 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -185,29 +185,43 @@ The EXO V2 module is supported in the following versions of Windows:
185185
186186
### Install the EXO V2 module
187187

188-
To install the EXO V2 module for the first time, complete the following steps **in an elevated PowerShell window**:
188+
To install the EXO V2 module for the first time, complete the following steps:
189189

190190
1. Install or update the PowerShellGet module as described in [Installing PowerShellGet](https://docs.microsoft.com/powershell/scripting/gallery/installing-psget).
191191

192-
2. Close and re-open the window.
192+
2. Close and re-open the Windows PowerShell window.
193193

194194
3. Now you can use the **Install-Module** cmdlet to install the EXO V2 module from the PowerShell Gallery. Typically, you'll want the latest public version of the module, but you can also install a Preview version if one is available.
195195

196-
- To install **the latest public version** of the module, run the following command:
196+
- To install **the latest public version** of the module, run **one** of the the following commands:
197197

198-
```powershell
199-
Install-Module -Name ExchangeOnlineManagement
200-
```
198+
- In an elevated PowerShell window (all users):
201199

202-
Enter **Y** to accept the license agreement.
200+
```powershell
201+
Install-Module -Name ExchangeOnlineManagement
202+
```
203203
204-
- To install **a Preview version** of the module, replace \<PreviewVersion\> with the necessary value, and run the following command:
204+
- Only for the current user account:
205205
206-
```powershell
207-
Install-Module -Name ExchangeOnlineManagement -RequiredVersion <PreviewVersion> -AllowPrerelease
208-
```
206+
```powershell
207+
Install-Module -Name ExchangeOnlineManagement -Scope CurrentUser
208+
```
209209
210-
When you're finished, enter **Y** to accept the license agreement.
210+
- To install **a Preview version** of the module, replace \<PreviewVersion\> with the necessary value, and run **one** of the following commands:
211+
212+
- In an elevated PowerShell window (all users):
213+
214+
```powershell
215+
Install-Module -Name ExchangeOnlineManagement -RequiredVersion <PreviewVersion> -AllowPrerelease
216+
```
217+
218+
- Only for the current user account:
219+
220+
```powershell
221+
Install-Module -Name ExchangeOnlineManagement -RequiredVersion <PreviewVersion> -AllowPrerelease -Scope CurrentUser
222+
```
223+
224+
When you're finished, enter **Y** to accept the license agreement.
211225
212226
For detailed syntax and parameter information, see [Install-Module](https://docs.microsoft.com/powershell/module/powershellget/install-module).
213227
@@ -221,23 +235,37 @@ If the module is already installed on your computer, you can run the following c
221235
Import-Module ExchangeOnlineManagement; Get-Module ExchangeOnlineManagement
222236
```
223237

224-
2. You can use the **Update-Module** cmdlet **in an elevated PowerShell window** to update the EXO V2 module from the PowerShell Gallery. Typically, you'll want the latest public version of the module, but you can also upgrade to a Preview version if one is available.
238+
2. You can use the **Update-Module** cmdlet to update the EXO V2 module from the PowerShell Gallery. Typically, you'll want the latest public version of the module, but you can also upgrade to a Preview version if one is available.
239+
240+
- To upgrade to **the latest public version** of the module, run **one** of the following commands based on how you originally installed the module (in an elevated PowerShell window vs. `Scope CurrentUser`):
241+
242+
- In an elevated PowerShell window (all users):
243+
244+
```powershell
245+
Update-Module -Name ExchangeOnlineManagement
246+
```
247+
248+
- Only for the current user account:
249+
250+
```powershell
251+
Update-Module -Name ExchangeOnlineManagement -Scope CurrentUser
252+
```
225253
226-
- To upgrade to **the latest public version** of the module, run the following command:
254+
- To upgrade to **a Preview version** of the module, replace \<PreviewVersion\> with the necessary value, and run **one** of the following commands based on how you originally installed the module (in an elevated PowerShell window vs. `Scope CurrentUser`):
227255
228-
```powershell
229-
Update-Module -Name ExchangeOnlineManagement
230-
```
256+
- In an elevated PowerShell window (all users):
231257
232-
Enter **Y** to accept the license agreement.
258+
```powershell
259+
Update-Module -Name ExchangeOnlineManagement -RequiredVersion <PreviewVersion> -AllowPrerelease
260+
```
233261
234-
- To upgrade to **a Preview version** of the module, replace \<PreviewVersion\> with the necessary value, and run the following command:
262+
- Only for the current user account:
235263
236-
```powershell
237-
Update-Module -Name ExchangeOnlineManagement -RequiredVersion <PreviewVersion> -AllowPrerelease
238-
```
264+
```powershell
265+
Update-Module -Name ExchangeOnlineManagement -RequiredVersion <PreviewVersion> -AllowPrerelease -Scope CurrentUser
266+
```
239267
240-
When you're finished, enter **Y** to accept the license agreement.
268+
When you're finished, enter **Y** to accept the license agreement.
241269
242270
3. To confirm that the update was successful, run the following commands to check the version information of the module that's installed:
243271

exchange/exchange-ps/exchange/Enable-App.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Accept wildcard characters: False
108108
```
109109

110110
### -Mailbox
111-
The Mailbox parameter specifies the the mailbox. You can use any value that uniquely identifies the mailbox. For example:
111+
The Mailbox parameter specifies the mailbox. You can use any value that uniquely identifies the mailbox. For example:
112112

113113
- Name
114114
- Alias

exchange/exchange-ps/exchange/Get-WebServicesVirtualDirectory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
4949

5050
### Example 1
5151
```powershell
52-
Get-WebServicesVirtualDirectory -ServerMBX01
52+
Get-WebServicesVirtualDirectory -Server MBX01
5353
```
5454

5555
This example returns a summary list of all EWS virtual directories on the server named MBX01.

exchange/exchange-ps/exchange/New-AutoSensitivityLabelRule.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ Accept wildcard characters: False
406406
```
407407

408408
### -ExceptIfProcessingLimitExceeded
409-
The ExceptIfProcessingLimitExceeded parameter specifies an exception for the auto-labeling policy rule rule that looks for files where scanning couldn't complete. Valid values are:
409+
The ExceptIfProcessingLimitExceeded parameter specifies an exception for the auto-labeling policy rule that looks for files where scanning couldn't complete. Valid values are:
410410

411411
- $true: Look for files where scanning couldn't complete.
412412
- $false: Don't look for files where scanning couldn't complete.
@@ -441,7 +441,7 @@ Accept wildcard characters: False
441441
```
442442

443443
### -ExceptIfSenderIPRanges
444-
The ExceptIfSenderIpRanges parameter specifies an exception for the auto-labeling policy rule rule that looks for senders whose IP addresses matches the specified value, or fall within the specified ranges. Valid values are:
444+
The ExceptIfSenderIpRanges parameter specifies an exception for the auto-labeling policy rule that looks for senders whose IP addresses matches the specified value, or fall within the specified ranges. Valid values are:
445445

446446
- Single IP address: For example, 192.168.1.1.
447447
- IP address range: For example, 192.168.0.1-192.168.0.254.

exchange/exchange-ps/exchange/Set-OwaMailboxPolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ Accept wildcard characters: False
13511351
### -NpsSurveysEnabled
13521352
This parameter is available only in the cloud-based service.
13531353

1354-
The NpsSurveysEnabled parameter specifies whether to enable or disable the Net Promoter Score (NPS) survey in Outlook on the web. The survey allows uses to rate Outlook on the web on a scale of 1 to 5, and to provide feedback and suggested improvements in free text. Valid values are:
1354+
The NpsSurveysEnabled parameter specifies whether to enable or disable the Net Promoter Score (NPS) survey in Outlook on the web. The survey allows users to rate Outlook on the web on a scale of 1 to 5, and to provide feedback and suggested improvements in free text. Valid values are:
13551355

13561356
- $true: The NPS survey is available in Outlook on the web. This is the default value.
13571357
- $false: The NPS survey isn't available in Outlook on the web.

spmt/spmt-ps/spmt/Register-SPMTMigration.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ After a session is registered, the user can add a migration task to the migratio
1919
## SYNTAX
2020

2121
```powershell
22-
Register-SPMTMigration [-SPOCredentials<PSCredential>] [-EnableMultiRound <bool>] [-ScanOnly <bool>] [-MigrateFilesAndFoldersWithInvalidChars <bool>] [-AzureActiveDirectoryLookup <bool>] [-CustomAzureAccessKey <string>] [-CustomAzureStorageAccount <bool>] [-DeleteTempFilesWhenMigrationDone <bool>] [-EnableEncryption <bool>] [-IgnoreUpdate <SwitchParameter>] [-KeepAllVersions <bool>] [-MigrateFileVersionHistory <bool>] [-MigrateOneNoteFolderAsOneNoteNoteBook <bool>] [-MigrateFilesCreatedAfter <DateTime>] [-MigrateFilesModifiedAfter <DateTime>] [-SkipFilesWithExtension <string>] [-IncludeHiddenFiles <bool>] [-NumberOfVersionToMigrate <int>] [-PreserveUserPermissionsForFileShare <bool>] [-PreserveUserPermissionsForSharePointSource <bool>] [-SkipListWithAudienceTargetingEnabled <bool>] [-StartMigrationAutomaticallyWhenNoScanIssue <bool>] [-UseCustomAzureStorage <bool>] [-UserMappingFile <string>] [-MigrateAllSiteFieldsAndContentTypes<bool>] [-WorkingFolder <string>] [-SkipSitesWithName <string>] [-SkipListsWithName <string>] [-SkipContentTypesWithName <string>] [-DuplicatePageBehavior <string>] [-MigrateNavigation <string>] [-MigrateTermGroups <string>] -Force
22+
Register-SPMTMigration [-SPOCredentials<PSCredential>] [-EnableMultiRound <bool>] [-ScanOnly <bool>] [-MigrateFilesAndFoldersWithInvalidChars <bool>] [-AzureActiveDirectoryLookup <bool>] [-CustomAzureAccessKey <string>] [-CustomAzureStorageAccount <bool>] [-DeleteTempFilesWhenMigrationDone <bool>] [-EnableEncryption <bool>] [-IgnoreUpdate <SwitchParameter>] [-KeepAllVersions <bool>] [-MigrateFileVersionHistory <bool>] [-MigrateOneNoteFolderAsOneNoteNoteBook <bool>] [-MigrateFilesCreatedAfter <DateTime>] [-MigrateFilesModifiedAfter <DateTime>] [-SkipFilesWithExtension <string>] [-IncludeHiddenFiles <bool>] [-NumberOfVersionToMigrate <int>] [-PreserveUserPermissionsForFileShare <bool>] [-PreserveUserPermissionsForSharePointSource <bool>] [-SkipListWithAudienceTargetingEnabled <bool>] [-StartMigrationAutomaticallyWhenNoScanIssue <bool>] [-UseCustomAzureStorage <bool>] [-UserMappingFile <string>] [-MigrateAllSiteFieldsAndContentTypes<bool>] [-WorkingFolder <string>] [-SkipSitesWithName <string>] [-SkipListsWithName <string>] [-SkipContentTypesWithName <string>] [-DuplicatePageBehavior <string>] [-MigrateNavigation <string>] [-MigrateTermGroups <string>] [-MigrateWithoutRootFolder] -Force
2323
```
2424

2525
## DESCRIPTION
@@ -601,6 +601,21 @@ Accept pipeline input: False
601601
Accept wildcard characters: False
602602
```
603603
604+
### -MigrateWithoutRootFolder
605+
In file share migrations, use this parameter to migrate only the root folder's contents to the target.
606+
607+
```yaml
608+
Type: SwitchParameter
609+
Parameter Sets: (All)
610+
Aliases:
611+
612+
Required: False
613+
Position: Named
614+
Default value: None
615+
Accept pipeline input: False
616+
Accept wildcard characters: False
617+
```
618+
604619
### CommonParameters
605620
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
606621

0 commit comments

Comments
 (0)