Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » New-PSSessionOption

New-PSSessionOption - 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 »

New-PSSessionOption

Short description
Creates an object that contains advanced options for a PSSession.

Syntax


Description
The New-PSSessionOption cmdlet creates an object that contains advanced options for a PSSession. You can use the ob
ject as the value of the SessionOption parameter of cmdlets that create a PSSession, such as New-PSSession, Enter-P
SSession, and Invoke-Command.

Without parameters, New-PSSessionOption generates an object that contains the default values for all of the options
. Because all of the properties can be edited, you can use the resulting object as a template, and create standard 
option objects for your enterprise.