Skip to content

Commit df9df9b

Browse files
SteveL-MSFTSean Wheeler
authored andcommitted
clarify that disconnect only works with WSMan (#2344)
1 parent 622f5f5 commit df9df9b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

reference/6/Microsoft.PowerShell.Core/About/about_Remote_Disconnected_Sessions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ continue to run while the session is disconnected.
2121

2222
The Disconnected Sessions feature is available only when the computer at the
2323
remote end of a connection is running Windows PowerShell 3.0 or a later
24-
version of Windows PowerShell.
24+
version of Windows PowerShell and using the WSMan transport.
2525

2626
The Disconnected Sessions feature allows you to close the session in which a
2727
PSSession was created, and even close Windows PowerShell, and shut down the

reference/6/Microsoft.PowerShell.Core/Disconnect-PSSession.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ The **Disconnect-PSSession** cmdlet disconnects a Windows PowerShell session (**
4545
As a result, the **PSSession** is in a disconnected state.
4646
You can connect to the disconnected **PSSession** from the current session or from another session on the local computer or a different computer.
4747

48+
Note that this capability only works with PSSessions using the WSMan transport.
49+
4850
The **Disconnect-PSSession** cmdlet disconnects only open **PSSessions** that are connected to the current session.
4951
**Disconnect-PSSession** cannot disconnect broken or closed **PSSession** objects, or interactive **PSSession** objects started by using the Enter-PSSession cmdlet, and it cannot disconnect **PSSession** objects that are connected to other sessions.
5052

0 commit comments

Comments
 (0)