To elaborate, I am creating a remote power shell session to localhost. Essentially, I am running the below command from my first power shell session(1).
$s = New-PSSession;
Now, I opened another power shell session(2) and I want to connect to the remote session created in the power session(1).
Is this possible?
I see that the remote power shell sessions created in (1) are not visible in (2). Is there a way to access those remote sessions across different power shell sessions.