Contact Info

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

Set-WSManQuickConfig - Powershell 2.0 CmdLet

Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.

More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.


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.