ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Powershell script to Run scan on C:/
salman283


Joined: 03 May 2016
Posts: 3
Location: Washington DC
Reply with quote
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
View user's profileSend private messageSend e-mail
GuitarBob


Joined: 09 Jul 2006
Posts: 4936
Location: USA
Reply with quote
We can't give you much help. Since version .95, ClamWin has not supported a lot of the command line.

Regards,
View user's profileSend private message
salman283


Joined: 03 May 2016
Posts: 3
Location: Washington DC
Reply with quote
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.
View user's profileSend private messageSend e-mail
GuitarBob


Joined: 09 Jul 2006
Posts: 4936
Location: USA
Reply with quote
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,
View user's profileSend private message
salman283


Joined: 03 May 2016
Posts: 3
Location: Washington DC
Reply with quote
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.
View user's profileSend private messageSend e-mail
Powershell script to Run scan on C:/
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic