PowerTip: Find Default Session Config Connection in PowerShell

Doctor Scripto

Dr Scripto

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

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   


    Leave a comment