Quantcast
Channel: Symantec Connect - Products - ディスカッション
Viewing all articles
Browse latest Browse all 11815

Remote Command Line DoScan.exe - Can it report to the console?

$
0
0
ソリューションが必要です

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)

 

;this one follows up with the remote smc update
RunWithLogon("psexec.exe",' \\%computername% -u ad\symantec_account -p x6rsfJ@p "%programfiles%\Symantec\Symantec Endpoint Protection\Smc.exe" -updateconfig',"",@Normal,@Wait,"symantec_account","AD","password",0)
I'm assuming there needs to be an additional switch or other subsequent command to run to force it to report to the console, or is that not possible?

Viewing all articles
Browse latest Browse all 11815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>