Question

Is it possible to trigger a virus scan on a file with PowerShell?

We want to search a file for virus, and if the file is ok; move the file to another directory..

We have thought about setting up a dedicated server for this with some software for the virus-search, but we have no clue on where to begin, or if it's even possible. I'm open for suggestions. Thanks.

Was it helpful?

Solution

You can use PowerShell to automate the job. However the choice of antivirus application is up to you. As @Joachim already suggested, you may want to try ClamAV which is under GPL.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top