Contact Info

Crumbtrail

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

Register-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 »

Register-PSSessionConfiguration

Short description
Creates and registers a new session configuration.

Syntax


Description
The Register-PSSessionConfiguration cmdlet creates and registers a  new session configuration on the local computer. 
This is an advanced cmdlet that is designed to be used by system administrators to create custom sessions for remote 
users.


Every Windows PowerShell session (PSSession) uses a session configuration, also known as an "endpoint." When users 
create a session that connects to the computer, they can select a session configuration or use the default session 
configuration that is registered when you enable Windows PowerShell remoting. Users can also set the 
$PSSessionConfigurationName preference variable, which specifies a default configuration for remote sessions created 
in the current session.


The session configuration defines the environment for the remote session. The configuration can determine which 
commands and language elements are available in the session, and it can include settings that protect the computer, 
such as those that limit the amount of data that the session can receive remotely in a single object or command.  The 
security descriptor (ACL) of the session configuration determines which users have permission to use the session 
configuration.


You can define the elements of configuration by using an assembly that implements a new configuration class and by 
using a script that runs in the session. Beginning in Windows PowerShell 3.0, you can also use a session configuration 
file to define the session configuration.


For information about session configurations, see about_Session_Configurations 
(http://go.microsoft.com/fwlink/?LinkID=145152). For information about session configuration files, see 
about_Session_Configuration_Files (http://go.microsoft.com/fwlink/?LinkID=236023).