Disable-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 Denies access to the session configurations on the local computer. Syntax Disable-PSSessionConfiguration [[-Name] <string>] [-Force] [-Confirm] [-WhatIf] [<CommonParameters>] Description The Disable-PSSessionConfiguration cmdlet prevents all users of the computer from using the session configuration i n a session. This is an advanced cmdlet that is designed to be used by system administrators to manage customized s ession configurations for their users. The Disable-PSSessionConfiguration cmdlet adds a "deny all" setting to the security descriptor of one or more regis tered session configurations. As a result, you can unregister, view, and change the configurations, but you cannot use them in a session. Without parameters, Disable-PSSessionConfiguration disables the Microsoft.PowerShell configuration, which is the de fault configuration that is used for sessions. Unless the user specifies a different configuration, both local and remote users are effectively prevented from creating any sessions that connect to the computer. To disable all session configurations on the computer, use Disable-PSRemoting.