-
PowerShell 2.0: One Cmdlet at a Time #44 Set-WSManQuickConfig
Posted on January 22nd, 2010 No commentsContinuing the series looking at new cmdlets available in PowerShell 2.0. This time we look at the Set-WSManQuickConfig cmdlet.
What can I do with it?
Configure the local computer for use with WS-Management .
Example:
Configure the local computer to be enabled for remote management with WS-Management .
Set-WSManQuickConfigThis will produce output similar to the below; note the command was run on a Windows Server 2008 64bit system.
Set-WSManQuickConfig runs the following tasks:
—– Starts the WinRM service if necessary.
—– Sets the startup type on the WinRM service to Automatic.
—– Creates a listener to accept requests on any IP address.
—– Enables a firewall exception for WS-Management communications.You are prompted to confirm the action.
How could I have done this in PowerShell 1.0?
Support for the use of WS-Management in PowerShell is provided as part of the 2.0 release.
Leave a reply










