Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Test-PSSessionConfigurationFile

Test-PSSessionConfigurationFile - 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 »


Short description
Verifies the keys and values in a session configuration file.

Test-PSSessionConfigurationFile [-Path] <String> [<CommonParameters>]

The Test-PSSessionConfigurationFile cmdlet verifies that a session configuration file contains valid keys and the value
s are of the correct type. For enumerated values, the cmdlet verifies that the specified values are valid.

By default, Test-PSSessionConfigurationFile returns "True" ($true) if the file passes all tests and "False" ($false) if
 it does not. To find any errors, use the Verbose common parameter.

Test-PSSessionConfigurationFile verifies the session configuration files, such as those created by the New-PSSessionCon
figurationFile cmdlet. For information about session configurations, see about_Session_Configurations (http://go.micros For information about session configuration files, see about_Session_Configuration_File
s (

This cmdlet is introduced in Windows PowerShell 3.0.