PowerShell Logo Small

Set-WSManQuickConfig



This is the built-in help made by Microsoft for the command 'Set-WSManQuickConfig', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Configures the local computer for remote management.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


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:


-- Checks whether the WinRM service is running. If the WinRM service is not running, the service is started.


-- Sets the WinRM service startup type to automatic.


-- Creates a listener to accept requests on any IP address. By default, the transport is HTTP.


-- Enables a firewall exception for WinRM traffic .


To run this cmdlet, start Windows PowerShell with the "Run as administrator" option.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=294045
Enable-PSRemoting
New-PSSession
Connect-WSMan
Disable-WSManCredSSP
Disconnect-WSMan
Enable-WSManCredSSP
Get-WSManCredSSP
Get-WSManInstance
Invoke-WSManAction
New-WSManInstance
New-WSManSessionOption
Test-WSMan

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

PS C:\>Set-WSManQuickConfig



This command sets the required configuration to enable remote management of the local computer. By default, this command creates a WS-Management listener on HTTP.










-------------------------- EXAMPLE 2 --------------------------

PS C:\>Set-WSManQuickConfig -UseSSL



The command sets the required configuration to enable remote management of the local computer. The UseSSL parameter makes the command create a WS-Management listener on
HTTPS.