March 31st, 2014

PowerTip: Find Default Session Config Connection in PowerShell

Doctor Scripto
Scripter

Summary: Find the default session configuration connection in Windows PowerShell.

Hey, Scripting Guy! Question How can I determine what default session configuration I can connect to?

Hey, Scripting Guy! Answer Use the $PSSessionConfigurationName automatic variable
          to view the default session configuration:

PS C:\Users\Administrator> $PSSessionConfigurationName
http://schemas.microsoft.com/powershell/Microsoft.PowerShell

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.