Powershell2: cascading remote execution of command
(sorry for a little confusing Subject)
The issue is not that difficult:
We have Server1, Server2 and Server3.
I wrote a script in Powershell 2, that automates the deployment process to the production Server 3.
The point is, that it's not possible to connect through cmd the Server3 from Server1- it should be done through Server2.
I can from Server1 execute script on Server2, but I cannot find a way to execute the script from Server1 on Server3 through Server2.
I use PS2 cmd-let enter-pssession