Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Set-PSSessionConfiguration

Set-PSSessionConfiguration - Powershell 4.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 »

Set-PSSessionConfiguration

Short description
Changes the properties of a registered session configuration.

Syntax


Description
The Set-PSSessionConfiguration cmdlet changes the properties of the session configurations on the local computer.


Use the Name parameter to identify the session configuration that you want to change. Use the other parameters to 
specify new values for the properties of the session configuration. To delete a property value from the configuration 
(and use the default value), enter an empty string ("") or a value of $null for the corresponding parameter.


Beginning in Windows PowerShell 3.0, you can use a session configuration file to define a session configuration. This 
feature provides a simple and discoverable method for setting and changing the properties of sessions that use the 
session configuration. To specify a session configuration file, use the Path parameter of Set-PSSessionConfiguration. 
For information about session configuration files, see about_Session_Configuration_Files 
(http://go.microsoft.com/fwlink/?LinkID=236023). For information about creating and editing a session configuration 
file, see New-PSSessionConfigurationFile.


Session configurations define the environment of remote sessions (PSSessions) that connect to the local computer. 
Every PSSession uses a session configuration. The session configuration determines the features of the PSSession, such 
as the modules that are available in the session, the cmdlets that are permitted to run, the language mode, quotas, 
and timeouts. The security descriptor (SDDL) of the session configuration determines who can use the session 
configuration to connect to the local computer. For more information about session configurations, see 
about_Session_Configurations.


To see the properties of a session configuration, use the Get-PSSessionConfiguration cmdlet or the WSMan Provider. For 
more information about the WSMan Provider, type "Get-Help WSMan".