Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Test-PSSessionConfigurationFile

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

Test-PSSessionConfigurationFile

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

Syntax


Description
The Test-PSSessionConfigurationFile cmdlet verifies that a session configuration file contains valid keys and the 
values 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-PSSessionConfigurationFile cmdlet. 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).


This cmdlet is introduced in Windows PowerShell 3.0.