PowerShellGirl
PowerShellGirl

Reputation: 41

Virus-scan file with Powershell

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.

Upvotes: 1

Views: 1917

Answers (1)

bahrep
bahrep

Reputation: 30662

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.

Upvotes: 1

Related Questions