Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Set-WSManQuickConfig

Set-WSManQuickConfig - 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 »


Short description
Configures the local computer for remote management.

Set-WSManQuickConfig [-UseSSL] [<CommonParameters>]

The Set-WSManQuickConfig cmdlet configures the computer to receive Windows PowerShell remote commands that are sent
 by using the Web Services for Management (WS-Management) technology. 

The cmdlet performs the following:
1. Checks whether the WinRM service is running. If the WinRM service is not running, the service is started.
2. Sets the WinRM service startup type to automatic.
3. Creates a listener to accept requests on any IP address. By default, the transport is HTTP.
4. Enables a firewall exception for WinRM traffic .

To run this cmdlet in Windows Vista, Windows Server 2008, and later versions of Windows, you must start Windows Pow
erShell with the "Run as administrator" option.