Skip to content

Commit fb84420

Browse files
committed
Merge branch 'main' into chrisda
2 parents 1d43515 + a0a8679 commit fb84420

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

exchange/docs-conceptual/control-remote-powershell-access-to-exchange-servers.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ To prevent remote PowerShell access for a specific group of existing users, you
6161
To disable access to remote PowerShell for any number of users based on an existing attribute, use the following syntax:
6262

6363
```powershell
64-
$<VariableName> = <Get-Mailbox | Get-User> -ResultSize unlimited -Filter <Filter>
64+
$<VariableName> = <Get-Mailbox | Get-User> -ResultSize Unlimited -Filter <Filter>
6565
```
6666

6767
```powershell
@@ -71,7 +71,7 @@ $<VariableName> | foreach {Set-User -Identity $_ -RemotePowerShellEnabled $false
7171
This example removes access to remote PowerShell for all users whose **Title** attribute contains the value "Sales Associate".
7272

7373
```powershell
74-
$DSA = Get-User -ResultSize unlimited -Filter "(RecipientType -eq 'UserMailbox') -and (Title -like '*Sales Associate*')"
74+
$DSA = Get-User -ResultSize Unlimited -Filter "(RecipientType -eq 'UserMailbox') -and (Title -like '*Sales Associate*')"
7575
```
7676

7777
```powershell
@@ -87,7 +87,7 @@ $<VariableName> = Get-Content <text file>
8787
```
8888

8989
```powershell
90-
$<VariableName> | foreach {Set-User -Identity $_ -RemotePowerShellEnabled $false
90+
$<VariableName> | foreach {Set-User -Identity $_ -RemotePowerShellEnabled $false}
9191
```
9292

9393
This example uses the text file C:\My Documents\NoPowerShell.txt to identify the users by their user principal name (UPN). The text file must contain one UPN on each line like this:
@@ -121,17 +121,17 @@ Get-User -Identity "Sarah Jones" | Format-List RemotePowerShellEnabled
121121
To display the remote PowerShell access status for all users, run the following command:
122122

123123
```powershell
124-
Get-User -ResultSize unlimited | Format-Table -Auto Name,DisplayName,RemotePowerShellEnabled
124+
Get-User -ResultSize Unlimited | Format-Table Name,DisplayName,RemotePowerShellEnabled -AutoSize
125125
```
126126

127127
To display only those users who don't have access to remote PowerShell, run the following command:
128128

129129
```powershell
130-
Get-User -ResultSize unlimited -Filter 'RemotePowerShellEnabled -eq $false'
130+
Get-User -ResultSize Unlimited -Filter 'RemotePowerShellEnabled -eq $false'
131131
```
132132

133133
To display only those users who have access to remote PowerShell, run the following command:
134134

135135
```powershell
136-
Get-User -ResultSize unlimited -Filter 'RemotePowerShellEnabled -eq $true'
136+
Get-User -ResultSize Unlimited -Filter 'RemotePowerShellEnabled -eq $true'
137137
```

exchange/exchange-ps/exchange/New-LabelPolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Some of the settings that you configure with this parameter are supported only b
105105

106106
Supported settings for built-in labeling:
107107

108-
- **EnableAudit**: Prevent Office apps from sending sensitivity label data to Microsoft 365 auditing solutions. Supported apps: Word, Excel, and PowerPoint on Windows (version 2201+), macOS (version 16.57+), iOS (version 2.57+), and Android (version 16.0.14827+), and also Outlook on Windows (version 2201+). Example: `Set-LabelPolicy -Identity Global -AdvancedSettings @{EnableAudit="False"}`.
108+
- **EnableAudit**: Prevent Office apps from sending sensitivity label data to Microsoft 365 auditing solutions. Supported apps: Word, Excel, and PowerPoint on Windows (version 2201+), macOS (version 16.57+), iOS (version 2.57+), and Android (version 16.0.14827+); Outlook on Windows (version 2201+), Outlook on the web, and rolling out to iOS and Android. Example: `Set-LabelPolicy -Identity Global -AdvancedSettings @{EnableAudit="False"}`.
109109

110110
- **DisableMandatoryInOutlook**: Outlook apps that support this setting exempt Outlook messages from mandatory labeling. Example: `New-LabelPolicy -Identity Global -AdvancedSettings @{DisableMandatoryInOutlook="True"}`. For more information about this configuration choice, see [Outlook-specific options for default label and mandatory labeling](https://learn.microsoft.com/microsoft-365/compliance/sensitivity-labels-office-apps#outlook-specific-options-for-default-label-and-mandatory-labeling).
111111

exchange/exchange-ps/exchange/Set-LabelPolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ Supported settings for built-in labeling:
371371

372372
- **DisableMandatoryInOutlook**: Outlook apps that support this setting exempt Outlook messages from mandatory labeling. Example: ` Set-LabelPolicy -Identity Global -AdvancedSettings @{DisableMandatoryInOutlook="True"}`. For more information about this configuration choice, see [Outlook-specific options for default label and mandatory labeling](https://learn.microsoft.com/microsoft-365/compliance/sensitivity-labels-office-apps#outlook-specific-options-for-default-label-and-mandatory-labeling).
373373

374-
- **EnableAudit**: Prevent Office apps from sending sensitivity label data to Microsoft 365 auditing solutions. Supported apps: Word, Excel, and PowerPoint on Windows (version 2201+), macOS (version 16.57+), iOS (version 2.57+), and Android (version 16.0.14827+), and also Outlook on Windows (version 2201+). Example: `Set-LabelPolicy -Identity Global -AdvancedSettings @{EnableAudit="False"}`.
374+
- **EnableAudit**: Prevent Office apps from sending sensitivity label data to Microsoft 365 auditing solutions. Supported apps: Word, Excel, and PowerPoint on Windows (version 2201+), macOS (version 16.57+), iOS (version 2.57+), and Android (version 16.0.14827+); Outlook on Windows (version 2201+), Outlook on the web, and rolling out to iOS and Android. Example: `Set-LabelPolicy -Identity Global -AdvancedSettings @{EnableAudit="False"}`.
375375

376376
- **HideBarByDefault**: For Office apps that support the sensitivity bar, don't display the sensitivity label name on the window bar title so that there's more space to display long file names. Just the label icon and color (if configured) will be displayed. Users can't revert this setting in the app. Example: `Set-LabelPolicy -Identity Global -AdvancedSettings @{HideBarByDefault="True"}`
377377

0 commit comments

Comments
 (0)