Hi all,
I'm looking for an absolute minimum configuration for a remote PowerShell session to another server on our network. My issue actually is that 'Remove-PSSession' is very slow to complete. I've also tried 'Invoke-Command' -Computer <name> -ScriptBlock {dir c:\} as a very simple test, and it too is very slow to "clean up" after itself. Now when I say slow, I'm talking over one real time minute.
I do remote sessions to Office365 all the time and closing them down is very quick. Is there some configuration I can adjust to speed things up when a session is no longer needed?
Thanks.
-- Tim.