summaryrefslogtreecommitdiff
path: root/ConnectSession.cs
diff options
context:
space:
mode:
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);
}