There are several ways to manage and configure Windows Defender, such as
via the System Center Configuration Manager (SCCM), Desired State
Configuration (DSC), Intune, and Group Policy. The Defender PowerShell
module is another tool you can use. In this article, I will provide an
introduction to the Defender module and examples of using its commands.
With the release of the Windows 10 Anniversary Update, Microsoft has
improved their antivirus (AV) solution by adding features, including the
ability to perform offline scans, cloud integration, and enhanced
notifications as noted here. One advantage of Windows Defender over third-party AV products is Defender’s built-in PowerShell support.
Running Get-Command -Module Defender shows the cmdlets you
can use to work with Defender. Essentially, you can manage preferences,
threats, definitions, scans, and get the current status of Windows