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
http://schemas.microsoft.com/powershell/Microsoft.PowerShell

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment