Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Disable-PSSessionConfiguration

Disable-PSSessionConfiguration - Powershell 2.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Disable-PSSessionConfiguration

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.