Download the latest release: Test-ExchAVExclusions.ps1
Assists with testing Exchange Servers to determine if AV Exclusions have been properly set according to our documentation.
AV Exclusions Exchange 2016/2019 AV Exclusions Exchange 2013
Writes an EICAR test file to all paths specified in our AV Exclusions documentation and verifies all extensions in the documentation in a temporary folder.
If the file is removed then the path is not properly excluded from AV Scanning. IF the file is not removed then it should be properly excluded.
Once the files are created it will wait 5 minutes for AV to "see" and remove the file.
... .\Test-ExchAVExclusions.ps1 ...
|Recurse||Places an EICAR file in all SubFolders as well as the root.|
|OpenLog||Opens the script log file.|
Log file: $env:LOCALAPPDATA\ExchAvExclusions.log
List of Folders and extensions Scanned by AV: $env:LOCALAPPDATA\BadExclusions.txt