I have created few pssession using new-pssession.
I can see them using get-pssession.
Is there a trick to pipe get-pssession | invoke-command -session?
If I create the session using variable, $session1, $session2, $session3 I can use invoke-command -session $session1,$session2,$session3 but the previous pipe dont work as I expect.
The goal is to take a list from my internal ticketing server, and run the same command against 50+ server.
All of those server are enabled for remoting using SSL and they are all working individually.
hope it clear
Thank in advance.