April 2nd, 2014

PowerTip: Test a PSSession Configuration File

Doctor Scripto
Scripter

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

True

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback