Skip to content

Commit bfc1c55

Browse files
authored
Merge branch 'master' into chrisda
2 parents c14de45 + 8fb9457 commit bfc1c55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ $<VariableName> = Get-Content <text file>
8888
$<VariableName> | foreach {Set-User -Identity $_ -RemotePowerShellEnabled $false}
8989
```
9090

91-
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:
91+
The following 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:
9292

9393
9494
@@ -99,7 +99,7 @@ $NPS = Get-Content "C:\My Documents\NoPowerShell.txt"
9999
```
100100

101101
```powershell
102-
$NPS | foreach {Set-User -Identity $_.MicrosoftOnlineServicesID -RemotePowerShellEnabled $false}
102+
$NPS | foreach {Set-User -Identity $_ -RemotePowerShellEnabled $false}
103103
```
104104

105105
## View the Exchange Online PowerShell access for users

0 commit comments

Comments
 (0)