Disable-PSSessionConfiguration - Powershell 3.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 Disables session configurations on the local computer. Syntax Description The Disable-PSSessionConfiguration cmdlet disables session configurations on the local computer, thereby preventing all users from using the session configurations to create a user-managed sessions ("PSSessions") on the local computer. Th is is an advanced cmdlet that is designed to be used by system administrators to manage customized session configuratio ns for their users. Beginning in Windows PowerShell 3.0, the Disable-PSSessionConfiguration cmdlet sets the Enabled setting of the session configuration (WSMan:\localhost\Plugins\<SessionConfiguration>\Enabled) to "False". In Windows PowerShell 2.0, the Disable-PSSessionConfiguration cmdlet adds a "Deny_All" entry to the security descriptor of one or more registered session configurations. Without parameters, Disable-PSSessionConfiguration disables the Microsoft.PowerShell configuration, which is the defaul t configuration that is used for sessions. Unless the user specifies a different configuration, both local and remote u sers are effectively prevented from creating any sessions that connect to the computer. To disable all session configurations on the computer, use Disable-PSRemoting.