Server side steps?
Matt Cameron
Is there a step that I can use that would be run on the server side as supposed to the client? I would like to execute robocopy but running from the context of the server. While it might not be the best example I am curious regardless if there is a way that this could be accomplished.
Step 1 - Do something server side
Step 2 - Install Package X
0
Comments
You could try it with a command line step and psexec.
PsExec.exe \\server1 c:\script.bat
or PowerShell Invoke-Command
Invoke-Command -ComputerName PDQSERVER -ArgumentList Arg1,Arg2 -ScriptBlock {Copy-Item $args[0] $args[1]}However, why do you need to run this from the server? If you are copying something from the server to the client you can just use