Managing Windows Defender / System Center Endpoint Security with PowerShell

I just read a blog post from Ed Wilson (Scripting Guy) about Use PowerShell to Configure Windows Defender Preferences and wondered if there’s more here. And yes there is. If you have a default insallation of Windows 8 and have defender enabled or work in an enterprise environment and use Configuration Manager with the  System Center Endpoint Security agent deployed on your clients then you the below listed cmdlets available. Windows Defender To get a Read More …

Running a Custom Scan with Microsoft Security Essentials using a Batch Script

Here’s a small script I just wrote to perform an antivirus scan against a specified file. @Echo off FOR /F "Tokens=4" %%a IN (‘"C:\Program Files\Microsoft Security Client\AntiMalWare\mpcmdrun.exe" -Scan -ScanType 3 -File C:\TEMP\test1.wim -DisableRemediation’) DO SET THREAT=%%a Echo. if "%THREAT%"=="no" (     color 2F     Echo No Threats Found – All clean     ) ELSE (     color 4F     Echo WARNING! Virus Found ) Echo. pause If all is OK you get the following result Read More …