From 07cfbfdb92890188cc0bed120acb1fcbf72d34db Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Mon, 18 May 2026 17:01:02 +1000 Subject: Added default global fallback session context --- ConnectSession.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ConnectSession.cs') diff --git a/ConnectSession.cs b/ConnectSession.cs index 7590408..e8034fc 100644 --- a/ConnectSession.cs +++ b/ConnectSession.cs @@ -30,6 +30,8 @@ public class ConnectSessionCmdlet : PSCmdlet { targetObject: null)); } + SessionCmdlet.GlobalSession = session; + WriteVerbose($"Successfully logged in to {Host}"); WriteObject(session); } -- cgit v1.3