PowerTip: Test a PSSession Configuration File

Doctor Scripto

Dr Scripto

Summary: Learn how to test a PSSession configuration file.

Hey, Scripting Guy! Question How do I ensure that my PSSession configuration is valid?

Hey, Scripting Guy! Answer Use the Test-PSSessionConfigurationFile cmdlet to see if the file is valid (True) or not (False).

Test-PSSessionConfigurationFile –Path ConstrainedSession.pssc


Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   


    Leave a comment