Skip to content

Commit 7f42fb7

Browse files
authored
Merge branch 'master' into patch-28
2 parents 08fc0ca + dd94e4d commit 7f42fb7

File tree

10 files changed

+131
-49
lines changed

10 files changed

+131
-49
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-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

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOSiteDataEncryptionPolicy.md

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414

1515
## SYNOPSIS
1616

17-
.
17+
Validates the encryption of a Group Site, Team Site, or OneDrive for Business site if a Customer Key has been registered for the site.
1818

1919
## SYNTAX
2020

@@ -24,7 +24,9 @@ Get-SPOSiteDataEncryptionPolicy [-Identity] <SpoSitePipeBind> [<CommonParameters
2424

2525
## DESCRIPTION
2626

27-
.
27+
When a Customer Key has been configured in the Azure tenant, it is possible to set and subsequently verify the encryption status of a SharePoint Online or OneDrive for Business site. This cmdlet verifies the encryption status of the particular site.
28+
29+
This cmdlet will return an error if the Azure tenant has not been configured with a Customer Key. See the Related Links section for more information on how to configure the Customer Key.
2830

2931
## EXAMPLES
3032

@@ -34,13 +36,13 @@ Get-SPOSiteDataEncryptionPolicy [-Identity] <SpoSitePipeBind> [<CommonParameters
3436
Get-SPOSiteDataEncryptionPolicy https://contoso.sharepoint.com/sites/Research
3537
```
3638

37-
.
39+
Verifies the encryption of the site https://contoso.sharepoint.com/sites/Research.
3840

3941
## PARAMETERS
4042

4143
### -Identity
4244

43-
.
45+
The URL of the Site Collection.
4446

4547
```yaml
4648
Type: SpoSitePipeBind
@@ -58,4 +60,28 @@ Accept wildcard characters: False
5860
5961
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).
6062
61-
## NOTES
63+
## OUTPUTS
64+
### System.String
65+
66+
The URI of the primary key.
67+
68+
### System.String
69+
70+
The URI of the secondary key.
71+
72+
### System.Object
73+
74+
The encryption status for the geo. Possible states include:
75+
76+
* Unregistered: Customer Key encryption has not yet been applied.
77+
* Registering: Customer Key encryption has been applied and your files are in the process of being encrypted. If your geo is in this state, you'll also be shown information on what percentage of sites in the geo are complete so that you can monitor encryption progress.
78+
* Registered: Customer Key encryption has been applied, and all files in all sites have been encrypted.
79+
* Rolling: A key roll is in progress. If your geo is in this state, you'll also be shown information on what percentage of sites have completed the key roll operation so that you can monitor progress.
80+
81+
## RELATED LINKS
82+
83+
[Register-SPODataEncryptionPolicy](https://docs.microsoft.com/powershell/module/sharepoint-online/register-spodataencryptionpolicy)
84+
85+
[Controlling your data in Office 365 using Customer Key](https://docs.microsoft.com/microsoft-365/compliance/controlling-your-data-using-customer-key)
86+
87+
[Office 365: Setting up Customer Key for SharePoint Online and OneDrive for Business](https://docs.microsoft.com/microsoft-365/compliance/controlling-your-data-using-customer-key#office-365-setting-up-customer-key-for-sharepoint-online-and-onedrive-for-business)

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOUnifiedGroup.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414

1515
## SYNOPSIS
1616

17-
.
17+
Retrieves the Preferred Data Location for the specified Office 365 Group.
1818

1919
## SYNTAX
2020

@@ -24,23 +24,22 @@ Get-SPOUnifiedGroup [-GroupAlias] <string> [<CommonParameters>]
2424

2525
## DESCRIPTION
2626

27-
.
27+
Retrieves the Preferred Data Location (PDL) for the specified Office 365 Group. The customer tenant must be multi-geo enabled.
2828

2929
## EXAMPLES
3030

3131
### Example 1
3232

3333
```powershell
34-
Get-SPOUnifiedGroup -GroupAlias <string>
34+
Get-SPOUnifiedGroup -GroupAlias EUTeam
3535
```
36-
37-
.
36+
Returns the PDL for the Office 365 Group named 'EUTeam'.
3837

3938
## PARAMETERS
4039

4140
### -GroupAlias
4241

43-
.
42+
The alias of the Office 365 Group.
4443

4544
```yaml
4645
Type: String
@@ -59,3 +58,7 @@ Accept wildcard characters: False
5958
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).
6059
6160
## NOTES
61+
62+
## RELATED LINKS
63+
64+
[Move a SharePoint site to a different geo location](https://docs.microsoft.com/office365/enterprise/move-sharepoint-between-geo-locations)

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOUnifiedGroupMoveState.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414

1515
## SYNOPSIS
1616

17-
.
17+
Returns the state of an Office 365 Group move between Preferred Data Locations.
1818

1919
## SYNTAX
2020

@@ -24,23 +24,23 @@ Get-SPOUnifiedGroupMoveState [-GroupAlias] <string> [<CommonParameters>]
2424

2525
## DESCRIPTION
2626

27-
.
27+
Retrieves the state of the Office 365 Group move to the Preferred Data Location (PDL) for the specified. The customer tenant must be multi-geo enabled.
2828

2929
## EXAMPLES
3030

3131
### Example 1
3232

3333
```powershell
34-
Get-SPOUnifiedGroupMoveState -GroupAlias <string>
34+
Get-SPOUnifiedGroupMoveState -GroupAlias EUTeam
3535
```
3636

37-
.
37+
Returns the status of the move between geos for the Office 365 Group named 'EUTeam'.
3838

3939
## PARAMETERS
4040

4141
### -GroupAlias
4242

43-
.
43+
The alias of the Office 365 Group.
4444

4545
```yaml
4646
Type: String
@@ -92,4 +92,22 @@ Accept wildcard characters: False
9292

9393
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).
9494

95+
## OUTPUTS
96+
97+
### System.Object
98+
99+
The move status for the Office 365 Group. Possible values are:
100+
101+
* Ready to Trigger: The move has not started.
102+
* Scheduled: The move is in queue but has not yet started.
103+
* InProgress (n/4): The move is in progress in one of the following states: Validation (1/4), Backup (2/4), Restore (3/4), Cleanup (4/4).
104+
* Success: The move has completed successfully.
105+
* Failed: The move failed.
106+
95107
## NOTES
108+
109+
You can also apply the `-Verbose` option to see additional information about the move.
110+
111+
## RELATED LINKS
112+
113+
[Move a SharePoint site to a different geo location](https://docs.microsoft.com/office365/enterprise/move-sharepoint-between-geo-locations)

sharepoint/sharepoint-ps/sharepoint-online/New-SPOMigrationEncryptionParameters.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414

1515
## SYNOPSIS
1616

17-
{{Fill in the Synopsis}}
17+
Creates a new random encryption key for a migration job or package.
1818

1919
## SYNTAX
2020

@@ -24,28 +24,43 @@ New-SPOMigrationEncryptionParameters [<CommonParameters>]
2424

2525
## DESCRIPTION
2626

27-
{{Fill in the Description}}
27+
Creates a random encryption key for submission of a migration job or creation of a migration package. For use with [`Submit-SPOMigrationJob`](), [`ConvertTo-SPOMigrationEncryptedPackage`](ConvertTo-SPOMigrationEncryptedPackage.md), and [`Set-SPOMigrationPackageAzureSource`](Set-SPOMigrationPackageAzureSource.md) in the `-EncryptedParameter` parameter for each cmdlet.
2828

2929
## EXAMPLES
3030

3131
### EXAMPLE 1
3232

3333
```powershell
34-
{{ Add example code here }}
34+
$o = New-SPOMigrationEncryptionParameters
3535
```
3636

37-
{{ Add example description here }}
37+
Outputs a random encryption key and saves it in the `$o` variable.
3838

3939
## PARAMETERS
4040

4141
### CommonParameters
4242

4343
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/?LinkID=113216).
4444

45+
## OUTPUTS
46+
47+
### System.Byte
48+
49+
EncryptionKey: The randomly generated encryption key using [System.Security.Cryptography.AesCryptoServiceProvider](https://docs.microsoft.com/dotnet/api/system.security.cryptography.aescryptoserviceprovider) class.
50+
51+
### Microsoft.Online.SharePoint.Migration.SPMigrationJobEncryptionMethod
52+
53+
EncryptionMethod: The encryption algorithm used to generate the EncryptionKey. Currently hardcoded to AES256BC.
54+
4555
## RELATED LINKS
4656

57+
[Submit-SPOMigrationjob](Submit-SPOMigrationJob.md)
58+
59+
[ConvertTo-SPOMigrationEncryptedPackage](ConvertTo-SPOMigrationEncryptedPackage.md)
60+
61+
[Set-SPOMigrationPackageAzureSource](Set-SPOMigrationPackageAzureSource.md)
62+
4763
[Introduction to the SharePoint Online management shell](https://support.office.com/en-us/article/introduction-to-the-sharepoint-online-management-shell-c16941c3-19b4-4710-8056-34c034493429)
4864

4965
[SharePoint Online Management Shell Download](https://www.microsoft.com/en-US/download/details.aspx?id=35588)
5066

51-
[Get-SPOAppErrors](Get-SPOAppErrors.md)

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOMultiGeoCompanyAllowedDataLocation.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414

1515
## SYNOPSIS
1616

17-
.
17+
Use this cmdlet to remove a multi geo allowed location.
1818

1919
## SYNTAX
2020

@@ -24,23 +24,22 @@ Remove-SPOMultiGeoCompanyAllowedDataLocation [-Location] <string> [-WhatIf] [-Co
2424

2525
## DESCRIPTION
2626

27-
.
27+
Removes a specified multi-geo location that was previously allowed by [Set-SPOMultiGeoCompanyAllowedDataLocation](Set-SPOMultiGeoCompanyAllowedDataLocation.md).
2828

2929
## EXAMPLES
3030

3131
### Example 1
3232

3333
```powershell
34-
34+
Remove-SPOMultiGeoCompanyAllowedDataLocation -Location AUS
3535
```
36-
37-
.
36+
Removes AUS (Australia) as an allowed mutli-geo location.
3837

3938
## PARAMETERS
4039

4140
### -Location
4241

43-
.
42+
The Preferred Data Location (PDL) to remove.
4443

4544
```yaml
4645
Type: String
@@ -93,3 +92,7 @@ Accept wildcard characters: False
9392
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).
9493

9594
## NOTES
95+
96+
## RELATED LINKS
97+
98+
[Set-SPOMultiGeoCompanyAllowedDataLocation](Set-SPOMultiGeoCompanyAllowedDataLocation.md)

skype/skype-ps/skype/Get-CsTeamsMobilityPolicy.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ The TeamsMobilityPolicy allows Admins to control Teams mobile usage for users.
3434

3535
The Get-CsTeamsMobilityPolicy cmdlet allows administrators to get all teams mobility policies.
3636

37+
NOTE: Please note that this cmdlet was deprecated and then removed from this PowerShell module. This reference will continue to be listed here for legacy purposes.
38+
39+
3740
## EXAMPLES
3841

3942
### Example 1

0 commit comments

Comments
 (0)