Skip to content

Commit ef03f02

Browse files
authored
Merge branch 'master' into patch-2
2 parents 9bf0350 + 61bbbf6 commit ef03f02

File tree

283 files changed

+1253
-2656
lines changed

Some content is hidden

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

283 files changed

+1253
-2656
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,12 @@ In standalone Exchange Online Protection (EOP) organizations without Exchange On
5050
Set-ExecutionPolicy RemoteSigned
5151
```
5252

53-
- Windows Remote Management (WinRM) needs to be enabled (it's not enabled by default in Windows 7, 8.1 and 10). To enable it, run this command **in a Command Prompt**:
54-
55-
```dos
56-
winrm quickconfig
57-
```
58-
5953
- WinRM needs to allow Basic authentication (it's enabled by default). We don't send the username and password combination, but the Basic authentication header is required to transport the session's OAuth token, since the client-side WinRM implementation has no support for OAuth.
6054

6155
To verify that Basic authentication is enabled for WinRM, run this command **in a Command Prompt**:
56+
57+
> [!NOTE]
58+
> You must temporarily enable WinRM to run the following commands. You can enable it by running "winrm quickconfig".
6259
6360
```dos
6461
winrm get winrm/config/client/auth

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,12 @@ Exchange Online PowerShell allows you to manage your Exchange Online settings fr
5757
Set-ExecutionPolicy RemoteSigned
5858
```
5959

60-
- Windows Remote Management (WinRM) needs to be enabled (it's not enabled by default in Windows 7, 8.1 and 10). To enable it, run this command **in a Command Prompt**:
61-
62-
```dos
63-
winrm quickconfig
64-
```
65-
6660
- WinRM needs to allow Basic authentication (it's enabled by default). We don't send the username and password combination, but the Basic authentication header is required to transport the session's OAuth token, since the client-side WinRM implementation has no support for OAuth.
6761

6862
To verify that Basic authentication is enabled for WinRM, run this command **in a Command Prompt**:
63+
64+
> [!NOTE]
65+
> You must temporarily enable WinRM to run the following commands. You can enable it by running "winrm quickconfig".
6966
7067
```dos
7168
winrm get winrm/config/client/auth

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,12 @@ If you want to use multi-factor authentication (MFA) to connect to Exchange Onli
4242

4343
<sup>\*</sup> This version of windows has reached end of support, and is now only supported when running in Azure virtual machines. To use this version of Windows, you need to install the Microsoft .NET Framework 4.5 or later and then an updated version of the Windows Management Framework: 3.0, 4.0, or 5.1 (only one). For more information, see [Installing the .NET Framework](https://go.microsoft.com/fwlink/p/?LinkId=257868), [Windows Management Framework 3.0](https://go.microsoft.com/fwlink/p/?LinkId=272757), [Windows Management Framework 4.0](https://go.microsoft.com/fwlink/p/?LinkId=391344), and [Windows Management Framework 5.1](https://aka.ms/wmf5download).
4444

45-
- Windows Remote Management (WinRM) needs to be enabled (it's not enabled by default in Windows 7, 8.1 and 10). To enable it, run this command **in a Command Prompt**:
46-
47-
```dos
48-
winrm quickconfig
49-
```
50-
5145
- WinRM needs to allow Basic authentication (it's enabled by default). We don't send the username and password combination, but the Basic authentication header is required to transport the session's OAuth token, since the client-side WinRM implementation has no support for OAuth.
5246

5347
To verify that Basic authentication is enabled for WinRM, run this command **in a Command Prompt**:
48+
49+
> [!NOTE]
50+
> You must temporarily enable WinRM to run the following commands. You can enable it by running "winrm quickconfig".
5451
5552
```dos
5653
winrm get winrm/config/client/auth

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ The new cmdlets in the EXO V2 module are listed in the following table:
5454
|[Get-EXOMailboxFolderStatistics](https://docs.microsoft.com/powershell/module/exchange/get-exomailboxfolderstatistics)|[Get-MailboxFolderStatistics](https://docs.microsoft.com/powershell/module/exchange/mailboxes/get-mailboxfolderstatistics)|
5555
|[Get-EXOMailboxFolderPermission](https://docs.microsoft.com/powershell/module/exchange/get-exomailboxfolderpermission)|[Get-MailboxFolderPermission](https://docs.microsoft.com/powershell/module/exchange/mailboxes/get-mailboxfolderpermission)|
5656
|[Get-EXOMobileDeviceStatistics](https://docs.microsoft.com/powershell/module/exchange/get-exomobiledevicestatistics)|[Get-MobileDeviceStatistics](https://docs.microsoft.com/powershell/module/exchange/devices/get-mobiledevicestatistics)|
57+
|[Disconnect-ExchangeOnline](https://docs.microsoft.com/powershell/module/exchange/disconnect-exchangeonline)|[Remove-PSSession](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/remove-pssession)|
58+
|[Connect-IPPSSession](https://docs.microsoft.com/powershell/module/exchange/connect-ippssession)|[Connect-IPPSSession](https://docs.microsoft.com/powershell/exchange/office-365-scc/connect-to-scc-powershell/mfa-connect-to-scc-powershell)|
59+
5760

5861
## Install and maintain the Exchange Online PowerShell V2 module
5962

@@ -84,15 +87,12 @@ You can download the EXO V2 module from the PowerShell gallery [here](https://ww
8487

8588
<sup>\*</sup> This version of windows has reached end of support, and is now only supported when running in Azure virtual machines. To use this version of Windows, you need to install the Microsoft .NET Framework 4.5 or later and then the Windows Management Framework 5.1. For more information, see [Windows Management Framework 5.1](https://aka.ms/wmf5download).
8689

87-
- Windows Remote Management (WinRM) needs to be enabled (it's not enabled by default in Windows 7, 8.1 and 10). To enable it, run this command **in a Command Prompt**:
88-
89-
```dos
90-
winrm quickconfig
91-
```
92-
9390
- WinRM needs to allow Basic authentication (it's enabled by default). We don't send the username and password combination, but the Basic authentication header is required to transport the session's OAuth token, since the client-side WinRM implementation has no support for OAuth.
9491

9592
To verify that Basic authentication is enabled for WinRM, run this command **in a Command Prompt**:
93+
94+
> [!NOTE]
95+
> You must temporarily enable WinRM to run the following commands. You can enable it by running "winrm quickconfig".
9696
9797
```dos
9898
winrm get winrm/config/client/auth

exchange/docs-conceptual/exchange-server/recipient-filters/filter-properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ The properties that have been _confirmed_ to work with the _Filter_ parameter in
104104
|_AuditLogAgeLimit_|_msExchMailboxAuditLogAgeLimit_|**Get-Mailbox** <br/> **Get-UnifiedGroup**|A time span value: _dd.hh:mm:ss_ where _dd_ = days, _hh_ = hours, _mm_ = minutes, and _ss_ = seconds.|You can't use the _Filter_ parameter to look for time span values for this property. Instead, use this syntax: `Get-Mailbox | where "$_.AuditLogAgeLimit -<Operator> '<TimeSpan>'"`. For example, `Get-Mailbox | where "$_.AuditLogAgeLimit -gt '60.00:00:00'"`.|
105105
|_AuthenticationPolicy_|_msExchAuthPolicyLink_|**Get-User**|String (wildcards accepted) or `$null`|For example, `Get-User -Filter "AuthenticationPolicy -eq 'CN=Block Basic Auth,CN=Auth Policies,CN=Configuration,CN=contoso.onmicrosoft.com,CN=ConfigurationUnits,DC=NAMPR11B009,DC=PROD,DC=OUTLOOK,DC=COM'"`.|
106106
|_BlockedSendersHash_|_msExchBlockedSendersHash_|**Get-Recipient**|Blank ( `$null`) or a hashed value.|Realistically, you can only use this value to filter on blank or non-blank values. For example, `Get-Recipient -Filter 'BlockedSendersHash -ne $null'.`|
107-
|_c_|_c_|**Get-Contact** <br/> **Get-LinkedUser** <br/> **Get-Recipient** <br/> **Get-SecurityPrincipal** <br/> **Get-User**|String (wildcards accepted) or `$null`|This filter requires the ISO 3166-1 two-letter country code for the user (for example, `S` for the United States). This property is used together with the _co_ and _countryCode_ properties to define the user's country in Active Directory. <br/> For example, `Get-User -Filter "c -eq 'US'"`.|
107+
|_c_|_c_|**Get-Contact** <br/> **Get-LinkedUser** <br/> **Get-Recipient** <br/> **Get-SecurityPrincipal** <br/> **Get-User**|String (wildcards accepted) or `$null`|This filter requires the ISO 3166-1 two-letter country code for the user (for example, `US` for the United States). This property is used together with the _co_ and _countryCode_ properties to define the user's country in Active Directory. <br/> For example, `Get-User -Filter "c -eq 'US'"`.|
108108
|_CalendarLoggingQuota_|_msExchCalendarLoggingQuota_|**Get-Mailbox**|A byte quantified size value (for example, `300MB` or `1.5GB`), or `Unlimited`. Unqualified values are treated as bytes.|You can only use the _Filter_ parameter to look for the value `Unlimited` for this property. For example, `Get-Mailbox -Filter "CalendarLoggingQuota -eq 'Unlimited'"` or `Get-Mailbox -Filter "CalendarLoggingQuota -ne 'Unlimited'"`. <br/> You can't use the _Filter_ parameter to look for size values of this property. Instead, use this syntax: `Get-Mailbox | where "$_.CalendarLoggingQuota -<Operator> '<Size>'"`. For example, `Get-Mailbox | where "$_.CalendarLoggingQuota -gt '10GB'"`.|
109109
|_CalendarRepairDisabled_|_msExchCalendarRepairDisabled_|**Get-Mailbox**|Boolean (`$true` or `$false`)|For example, `Get-Mailbox -Filter 'CalendarRepairDisabled -eq $true'`.|
110110
|_CertificateSubject_|n/a|**Get-LinkedUser** <br/> **Get-User**|String or `$null`|The X509 certificate that's published for the user account (visible on the **Published Certificates** tab in Active Directory Users and Computers). <br/> For example, `Get-User -Filter "CertificateSubject -eq 'X509:<I>C=US,O=InternetCA,CN=APublicCertificateAuthority<S>C=US,O=Fabrikam,OU=Sales,CN=Jeff Smith`')|

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,12 @@ For more information about the Security & Compliance Center, see [Security & Com
5656
Set-ExecutionPolicy RemoteSigned
5757
```
5858

59-
- Windows Remote Management (WinRM) needs to be enabled (it's not enabled by default in Windows 7, 8.1 and 10). To enable it, run this command **in a Command Prompt**:
60-
61-
```dos
62-
winrm quickconfig
63-
```
64-
6559
- WinRM needs to allow Basic authentication (it's enabled by default). We don't send the username and password combination, but the Basic authentication header is required to transport the session's OAuth token, since the client-side WinRM implementation has no support for OAuth.
6660

6761
To verify that Basic authentication is enabled for WinRM, run this command **in a Command Prompt**:
62+
63+
> [!NOTE]
64+
> You must temporarily enable WinRM to run the following commands. You can enable it by running "winrm quickconfig".
6865
6966
```dos
7067
winrm get winrm/config/client/auth

exchange/docs-conceptual/office-365-scc/connect-to-scc-powershell/mfa-connect-to-scc-powershell.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,12 @@ If your account uses multi-factor authentication (MFA) or federated authenticati
4242

4343
<sup>\*</sup> This version of windows has reached end of support, and is now only supported when running in Azure virtual machines. To use this version of Windows, you need to install the Microsoft .NET Framework 4.5 or later and then an updated version of the Windows Management Framework: 3.0, 4.0, or 5.1 (only one). For more information, see [Installing the .NET Framework](https://go.microsoft.com/fwlink/p/?LinkId=257868), [Windows Management Framework 3.0](https://go.microsoft.com/fwlink/p/?LinkId=272757), [Windows Management Framework 4.0](https://go.microsoft.com/fwlink/p/?LinkId=391344), and [Windows Management Framework 5.1](https://aka.ms/wmf5download).
4444

45-
- Windows Remote Management (WinRM) needs to be enabled (it's not enabled by default in Windows 7, 8.1 and 10). To enable it, run this command **in a Command Prompt**:
46-
47-
```dos
48-
winrm quickconfig
49-
```
50-
5145
- WinRM needs to allow Basic authentication (it's enabled by default). We don't send the username and password combination, but the Basic authentication header is required to transport the session's OAuth token, since the client-side WinRM implementation has no support for OAuth.
5246

5347
To verify that Basic authentication is enabled for WinRM, run this command **in a Command Prompt**:
48+
49+
> [!NOTE]
50+
> You must temporarily enable WinRM to run the following commands. You can enable it by running "winrm quickconfig".
5451
5552
```dos
5653
winrm get winrm/config/client/auth

exchange/exchange-ps/exchange/Connect-IPPSSession.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ The AzureADAuthorizationEndpointUri parameter specifies the Azure AD Authorizati
6666

6767
In Office 365 Germany for Security & Compliance Center PowerShell, use the value <https://login.microsoftonline.de/common> for this parameter.
6868

69+
In Microsoft 365 GCC High and Microsoft 365 DoD for Security & Compliance Center PowerShell, use the value <https://login.microsoftonline.us/common> for this parameter.
70+
6971
```yaml
7072
Type: String
7173
Parameter Sets: (All)
@@ -101,6 +103,10 @@ In standalone Exchange Online Protection organizations without Exchange Online m
101103
102104
In Office 365 Germany for Security & Compliance Center PowerShell, use the value <https://ps.compliance.protection.outlook.de/PowerShell-LiveID> for this parameter.
103105
106+
In Microsoft 365 GCC High for Security & Compliance Center PowerShell, use the value <https://outlook.office365.us/powershell-liveid> for this parameter.
107+
108+
In Microsoft 365 DoD for Security & Compliance Center PowerShell, use the value <https://webmail.apps.mil/powershell-liveid> for this parameter.
109+
104110
```yaml
105111
Type: String
106112
Parameter Sets: (All)
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
external help file: Microsoft.Exchange.TransportMailflow-Help.xml
3+
online version: https://docs.microsoft.com/powershell/module/exchange/execute-azureadlabelsync
4+
applicable: Office 365 Security & Compliance Center
5+
title: Execute-AzureADLabelSync
6+
schema: 2.0.0
7+
author: chrisda
8+
ms.author: chrisda
9+
ms.reviewer:
10+
monikerRange: "o365scc-ps"
11+
---
12+
13+
# Execute-AzureADLabelSync
14+
15+
## SYNOPSIS
16+
This cmdlet is available only in Office 365 Security & Compliance Center PowerShell. For more information, see [Office 365 Security & Compliance Center PowerShell](https://docs.microsoft.com/powershell/exchange/office-365-scc/office-365-scc-powershell).
17+
18+
Use the Execute-AzureADLabelSync cmdlet to start the synchronization of sensitivity labels into Azure Active Directory. This allows the applicaton of sensitivty labels to Microsoft Teams sites, Office 365 groups, and SharePoint sites. This cmdlet is required if you were using senstivity labels before September 2019.
19+
20+
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-server/exchange-cmdlet-syntax).
21+
22+
## SYNTAX
23+
24+
```
25+
Execute-AzureADLabelSync [<CommonParameters>]
26+
```
27+
28+
## DESCRIPTION
29+
You need to be assigned permissions in the Office 365 Security & Compliance Center before you can use this cmdlet. For more information, see [Permissions in Office 365 Security & Compliance Center](https://go.microsoft.com/fwlink/p/?LinkId=511920).
30+
31+
## EXAMPLES
32+
33+
### Example 1
34+
```powershell
35+
Execute-AzureADLabelSync
36+
```
37+
38+
This example will initialize the synchronization of sensitivity labels into Azure Active Directory.
39+
40+
## PARAMETERS
41+
42+
### CommonParameters
43+
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).
44+
45+
## INPUTS
46+
47+
###
48+
49+
## OUTPUTS
50+
51+
###
52+
53+
## NOTES
54+
55+
## RELATED LINKS

exchange/exchange-ps/exchange/Get-EXORecipientPermission.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ For information about the parameter sets in the Syntax section below, see [Excha
2727
Get-EXORecipientPermission
2828
[-AccessRights <MultiValuedProperty>]
2929
[-ResultSize <Unlimited>]
30-
[-Trustee <String>]
3130
[<CommonParameters>]
3231
```
3332

@@ -36,8 +35,10 @@ Get-EXORecipientPermission
3635
Get-EXORecipientPermission [[-Identity] <String>]
3736
[-AccessRights <MultiValuedProperty>]
3837
[-ExternalDirectoryObjectId <Guid>]
38+
[-PrimarySmtpAddress <String>
3939
[-ResultSize <Unlimited>]
4040
[-Trustee <String>]
41+
[-UserPrincipalName <String>]
4142
[<CommonParameters>]
4243
```
4344

@@ -138,6 +139,22 @@ Accept pipeline input: True (ByPropertyName)
138139
Accept wildcard characters: False
139140
```
140141
142+
### -PrimarySmtpAddress
143+
This parameter is reserved for internal Microsoft use.
144+
145+
```yaml
146+
Type: String
147+
Parameter Sets: Identity
148+
Aliases:
149+
Applicable: Exchange Online
150+
151+
Required: False
152+
Position: Named
153+
Default value: None
154+
Accept pipeline input: True (ByPropertyName)
155+
Accept wildcard characters: False
156+
```
157+
141158
### -ResultSize
142159
The ResultSize parameter specifies the maximum number of results to return. If you want to return all requests that match the query, use unlimited for the value of this parameter. The default value is 1000.
143160
@@ -185,7 +202,7 @@ You can use any value that uniquely identifies the user or group. For example:
185202
186203
```yaml
187204
Type: String
188-
Parameter Sets: (All)
205+
Parameter Sets: Identity
189206
Aliases:
190207
Applicable: Exchange Online
191208

@@ -196,6 +213,22 @@ Accept pipeline input: False
196213
Accept wildcard characters: False
197214
```
198215
216+
### -UserPrincipalName
217+
The UserPrincipalName parameter specifies the UPN for the mailbox you want to view (for example, navin.contoso.com).
218+
219+
```yaml
220+
Type: String
221+
Parameter Sets: Identity
222+
Aliases:
223+
Applicable: Exchange Online
224+
225+
Required: False
226+
Position: Named
227+
Default value: None
228+
Accept pipeline input: True (ByPropertyName)
229+
Accept wildcard characters: False
230+
```
231+
199232
### CommonParameters
200233
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).
201234

0 commit comments

Comments
 (0)