Contact Info

Crumbtrail

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

Disconnect-WSMan - Powershell 2.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


Description
The Disconnect-WSMan cmdlet disconnects the client from the WinRM service on a remote computer. If you saved the WS
    -Management session in a variable, the session object remains in the variable, but the state of the WS-Management s
    ession is "Closed". You can use this cmdlet within the context of the WS-Management provider to disconnect the clie
    nt from the WinRM service on a remote computer. However, you can also use this cmdlet to disconnect from the WinRM 
    service on remote computers before you change to the WS-Management provider. 
    
    For more information about how to connect to the WinRM service on a remote computer, see Connect-WSMan.