modules/deploy/dsc/ext/PsGallery/xDefender.0.2.0.0/Examples/ExampleScript.ps1

configuration Defender
{
    Import-DscResource -ModuleName xDefender
    node Localhost
    {
        xMpPreference Test1
        {
        Name = 'MyPreferences1'
        CheckForSignaturesBeforeRunningScan = $True
        HighThreatDefaultAction = 'Clean'
        }   
    }
}

Defender -OutputPath 'c:\DSC_Defender\'
Start-DscConfiguration -Wait -Force -Path 'c:\DSC_Defender\' -ComputerName localhost -Verbose