Skip to content

Commit ce9dabb

Browse files
authored
Update Connect-ExchangeOnline.md
made changes to the variable and example explanation.
1 parent 5ac7bdb commit ce9dabb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exchange/exchange-ps/exchange/powershell-v2-module/Connect-ExchangeOnline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ $UserCredential = Get-Credential
5151
Connect-ExchangeOnline -Credential $UserCredential
5252
```
5353

54-
The first command gets the user credentials and stores them in the $Credential variable.
54+
The first command gets the user credentials and stores them in the $UserCredential variable.
5555

56-
The second command connects the current PowerShell session using the credentials in the $Credential. Note that after the second command is complete, the password key in the $Credential variable becomes empty.
56+
The second command connects the current PowerShell session using the credentials in the $UserCredential. Note that after the second command is complete, the password key in the $UserCredential variable becomes empty.
5757

5858
After the Connect-ExchangeOnline command is successful, you can run ExO V2 module cmdlets and older remote PowerShell cmdlets.
5959

0 commit comments

Comments
 (0)