Skip to content

Commit b980f9e

Browse files
authored
Merge branch 'master' into patch-2
2 parents a01b2ab + d26bf88 commit b980f9e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

exchange/docs-conceptual/exchange-online/disable-access-to-exchange-online-powershell.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ $<VariableName> = <Get-Mailbox | Get-User> -ResultSize unlimited -Filter <Filter
5959
```
6060

6161
```
62-
$<VariableName> | foreach {Set-User -Identity $_.MicrosoftOnlineServicesID -RemotePowerShellEnabled $false}
62+
$<VariableName> | foreach {Set-User -Identity $_ -RemotePowerShellEnabled $false}
6363
```
6464

6565
This example removes access to Exchange Online PowerShell for all users whose **Title** attribute contains the value "Sales Associate".
@@ -69,7 +69,7 @@ $DSA = Get-User -ResultSize unlimited -Filter {(RecipientType -eq 'UserMailbox')
6969
```
7070

7171
```
72-
$DSA | foreach {Set-User -Identity $_.MicrosoftOnlineServicesID -RemotePowerShellEnabled $false}
72+
$DSA | foreach {Set-User -Identity $_ -RemotePowerShellEnabled $false}
7373
```
7474

7575
### Use a list of specific users
@@ -81,7 +81,7 @@ $<VariableName> = Get-Content <text file>
8181
```
8282

8383
```
84-
$<VariableName> | foreach {Set-User -Identity $_.MicrosoftOnlineServicesID -RemotePowerShellEnabled $false}
84+
$<VariableName> | foreach {Set-User -Identity $_ -RemotePowerShellEnabled $false}
8585
```
8686

8787
This example uses the text file C:\My Documents\NoPowerShell.txt to identify the users by their accounts. The text file must contain one account on each line as follows:

exchange/exchange-ps/exchange/advanced-threat-protection/Set-AntiPhishPolicy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ Accept wildcard characters: False
231231
### -EnableMailboxIntelligence
232232
The EnableMailboxIntelligence parameter specifies whether to enable or disable mailbox intelligence (the first contact graph) in ___domain and user impersonation protection. Valid values are:
233233
234-
- $true: Use mailbox intelligence in ___domain and user impersonation protection.
234+
- $true: Use mailbox intelligence in ___domain and user impersonation protection. This is the default value.
235235
236-
- $false: Don't use mailbox intelligence in ___domain and user impersonation protection. This is the default value.
236+
- $false: Don't use mailbox intelligence in ___domain and user impersonation protection.
237237
238238
```yaml
239239
Type: $true | $false

0 commit comments

Comments
 (0)