I'm trying to set up a script for our service desk folks to run, that invokes the DoScan.exe with PSEXEC, it seems to kick off our scan, but it never shows up in the console monitor, which doesn't surprise me necessarily. But, is there a way to do that? After the doscan command, I then kick off an smc update command, but that doesn't seem to put the job in Monitors - Command Status windows in the console. Here's the commands I'm running from within a compiled winbatch executable.
wntAddDrive(@DEFAULT, @DEFAULT,"\\%computername%\ipc$",@None,@False) ;this temp maps to the device C: drive admin share using the credentials of the pseron running the script (all running this would be local admins)
;This one kicks off the remote doscan
RunWithLogon("psexec.exe",' \\%computername% -u ad\symantec_account -p password "%programfiles%\Symantec\Symantec Endpoint Protection\12.1.2015.2015\Bin\DoScan.exe" /scanname "DOT Weekly Scheduled Scan"',"",@Normal,@Wait,"symantec_account","AD","password",0)