summaryrefslogtreecommitdiff
path: root/ConnectSession.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-05-18 17:01:02 +1000
committerJake Mannens <jake@asger.xyz>2026-05-19 03:29:47 +1000
commit07cfbfdb92890188cc0bed120acb1fcbf72d34db (patch)
tree7beaf4ccf29d3060ef10e1c293a5ad6620535256 /ConnectSession.cs
parentab46387d4d02e30b171a7c2fa07947b41ec691a0 (diff)
Added default global fallback session context
Diffstat (limited to 'ConnectSession.cs')
-rw-r--r--ConnectSession.cs2
1 files changed, 2 insertions, 0 deletions
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);
}