Enable-PSSessionConfiguration - 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 Enables the session configurations on the local computer. Syntax Enable-PSSessionConfiguration [[-Name] <string>] [-Force] [-SecurityDescriptorSDDL <string>] [-Confirm] [-WhatIf] [<CommonParameters>] Description The Enable-PSSessionConfiguration cmdlet re-enables registered session configurations that have been disabled by us ing the Disable-PSSessionConfiguration cmdlet. This is an advanced cmdlet that is designed to be used by system adm inistrators to manage customized session configurations for their users. Without parameters, Enable-PSSessionConfiguration re-enables the Microsoft.PowerShell configuration, which is the d efault configuration that is used for sessions. This cmdlet performs the following operations for each enabled configuration: -- Removes the "deny all" setting from the security descriptor of the configuration or replaces the security descr iptor with one that you specify. -- Turns on the listener that accepts requests on any IP address. -- Restarts the WinRM service. The Enable-PSSessionConfiguration cmdlet calls the Set-WSManQuickConfig cmdlet. However, it should not be used to e nable remoting on the computer. Instead, use the more comprehensive cmdlet, Enable-PSRemoting.