image_pdfimage_print
0

Powershell + psExec

Launching Powershell Remotely via psExec From Powershell: Launch Powershell Remotely via psExec driveletter:\somepath\psexec.exe \\hostname cmd /c ‘echo . | powershell.exe -command “$env:PROCESSOR_ARCHITECTURE; exit 100″‘ From CMD: Launch Powershell Remotely via psExec powershell.exe -command “& {driveletter:\somepath\psexec\psexec.exe \\hostname cmd /c ‘echo .… Continue Reading