Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Disconnect-WSMan

Disconnect-WSMan - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Disconnect-WSMan

Short description
Disconnects the client from the WinRM service on a remote computer.

Syntax
Disconnect-WSMan [[-ComputerName] <String>] [<CommonParameters>]





Description
The Disconnect-WSMan cmdlet disconnects the client from the WinRM service on a remote computer. If you saved the WS-Man
agement session in a variable, the session object remains in the variable, but the state of the WS-Management session i
s "Closed". You can use this cmdlet within the context of the WSMan provider to disconnect the client from the WinRM se
rvice on a remote computer. However, you can also use this cmdlet to disconnect from the WinRM service on remote comput
ers before you change to the WSMan provider.


For more information about how to connect to the WinRM service on a remote computer, see Connect-WSMan.