Author Posts

July 7, 2017 at 4:02 pm

Hello!

I'm trying to run the Adobe Reader Cleaner in silent mode while in a Remote Session and Set-ExecutionPolicy RemoteSigned.

The command line would be:

AdbeArCleaner_v2.exe /silent /product=1

How do I launch that within a remote PowerShell? I'm trying to remove software without user interaction.

July 7, 2017 at 6:51 pm

you can try with psexec:
PsExec.exe \\$userComputer -n 15 -s -d "\\$userComputer\$destinationFolder\$filename" DESKTOPSHORTCUT="1" /quiet

July 7, 2017 at 7:27 pm

The problem with PsExec is that it might be flagged as "malware" in some environments.

July 8, 2017 at 8:58 pm

You do know that psexec was one of the tools used in the NotPetya attack right?