You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/connect-to-exchange-online-protection-powershell.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ The Exchange Online PowerShell V2 module (abbreviated as the EXO V2 module) uses
21
21
22
22
**This topic contains instructions for how to connect to Exchange Online Protection PowerShell using the EXO V2 module with or without using MFA.**
23
23
24
-
To use the older, less secure remote PowerShell connection instructions that [will eventually be deprecated](https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-and-exchange-online-july-update/ba-p/1530163), see [Bssic auth - Connect to Exchange Online Protection PowerShell](basic-auth-connect-to-eop-powershell.md).
24
+
To use the older, less secure remote PowerShell connection instructions that [will eventually be deprecated](https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-and-exchange-online-july-update/ba-p/1530163), see [Basic auth - Connect to Exchange Online Protection PowerShell](basic-auth-connect-to-eop-powershell.md).
25
25
26
26
## What do you need to know before you begin?
27
27
@@ -71,7 +71,7 @@ For detailed syntax and parameter information, see [Connect-IPPSSession](https:/
71
71
> Be sure to disconnect the remote PowerShell session when you're finished. If you close the Windows PowerShell window without disconnecting the session, you could use up all the remote PowerShell sessions available to you, and you'll need to wait for the sessions to expire. To disconnect the remote PowerShell session, run the following command.
72
72
73
73
```powershell
74
-
Get-PSSession | Remove-PSSession
74
+
Disconnect-ExchangeOnline
75
75
```
76
76
77
77
## Connect to Exchange Online Protection PowerShell without using MFA
@@ -118,7 +118,7 @@ For detailed syntax and parameter information, see [Connect-IPPSSession](https:/
118
118
> Be sure to disconnect the remote PowerShell session when you're finished. If you close the Windows PowerShell window without disconnecting the session, you could use up all the remote PowerShell sessions available to you, and you'll need to wait for the sessions to expire. To disconnect the remote PowerShell session, run the following command.
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Disconnect-ExchangeOnline.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ monikerRange: "exchonline-ps"
17
17
## SYNOPSIS
18
18
This cmdlet is available only in the Exchange Online PowerShell V2 module. For more information, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
19
19
20
-
Use the Disconnect-ExchangeOnline cmdlet in the Exchange Online PowerShell V2 module to disconnect from an Exchange Online organization.
20
+
Use the Disconnect-ExchangeOnline cmdlet in the Exchange Online PowerShell V2 module to disconnect from remote PowerShell sessions that you opened using the Connect-ExchangeOnline or Connect-IPPSSession cmdlets.
21
21
22
22
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
The Connect-ExchangeOnline cmdlet establishes a connection to the Exchage Online organization of the logged-in admin user. This cmdlet is the counterpart to Connect-ExchangeOnline.
31
+
The Connect-ExchangeOnline cmdlet establishes a connection to the Exchange Online organization of the logged-in admin user. This cmdlet is the counterpart to Connect-ExchangeOnline.
32
32
33
-
Disconnect-ExchangeOnline closes any active session and clears cache. After a successful disconnect, you can't run any of the V2 cmdlets or older remote PowerShell cmdlets.
33
+
Disconnect-ExchangeOnline closes any active session and clears the cache. After a successful disconnect, you can't run any of the V2 cmdlets or older remote PowerShell cmdlets.
34
34
35
35
## EXAMPLES
36
36
37
37
### Example 1
38
38
```powershell
39
39
Disconnect-ExchangeOnline
40
40
```
41
-
This example asks for confirmation before disconnecting the current PowerShell session with Exchange Online.
42
41
42
+
This example asks for confirmation before disconnecting the current PowerShell session with Exchange Online.
43
43
44
44
### Example 2
45
45
```powershell
46
46
Disconnect-ExchangeOnline -Confirm:$false
47
47
```
48
-
This example disconnects the current PowerShell session with Exchange Online silently and without a confirmation prompt.
49
48
49
+
This example disconnects the current PowerShell session with Exchange Online silently and without a confirmation prompt.
0 commit comments