williamwlk
asked on
How to execute powershell script remontely in remote powershell
How can I run a powershell script called abc.ps1 loaded in Machine B from Machine A.
I'd like to use psexec from Macine A.
I'd like to use psexec from Macine A.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Double the percent signs. That command line would try to call the powershell.exe remotely, but assuming it is on the same path as is on the calling PC. But besides that - yes, that is what I had in mind.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
ASKER
Like this?
W