salman283
Joined: 03 May 2016 |
Posts: 3 |
Location: Washington DC |
|
 |
Posted: Tue May 03, 2016 4:13 pm |
|
 |
 |
 |
 |
Hello,
I am trying to make a powershell script to run clamscan to scan the whole system. I want the script to update the database and run the scan while giving me the results in a txt file. I would like to be able to use this script to set up a task in Windows Task Scheduler so I can run Scans automatically every week.
Thank You
|
|
GuitarBob
Joined: 09 Jul 2006 |
Posts: 4936 |
Location: USA |
|
 |
Posted: Wed May 04, 2016 12:16 am |
|
 |
 |
 |
 |
We can't give you much help. Since version .95, ClamWin has not supported a lot of the command line.
Regards,
|
|
salman283
Joined: 03 May 2016 |
Posts: 3 |
Location: Washington DC |
|
 |
Posted: Wed May 04, 2016 1:31 pm |
|
 |
 |
 |
 |
Hey GuitarBob,
Sorry i didnt see where to put my Version but i am on .99 the newest one i believe. Sorry for the confusion.
|
|
GuitarBob
Joined: 09 Jul 2006 |
Posts: 4936 |
Location: USA |
|
 |
Posted: Wed May 04, 2016 2:08 pm |
|
 |
 |
 |
 |
You can set up a weekly ClamWin scan via the Tools, Preferences, Scheduled Scans, Add menu option. You don't need any script for that.
Regards,
|
|
salman283
Joined: 03 May 2016 |
Posts: 3 |
Location: Washington DC |
|
 |
Posted: Wed May 04, 2016 2:41 pm |
|
 |
 |
 |
 |
The Scans directly through the ClamWin require that the user be logged in when the scan happens from my understanding. I need to be able to have the scan run on the VM without anyone having to log on during the scan time.
|
|