Scan configures the scheduled scan that Windows Defender runs. Windows Defender is an application that can prevent, remove, and quarantine malware (malicious software) and spyware.
|ScanParameters||Specifies whether to run a quick scan or a full system scan during a scheduled scan.|
|ScheduleDay||Specifies the day of the week to run a full system scan.|
|ScheduleTime||Specifies the time of day to run a scheduled scan.|
Valid Configuration Passes
For Windows Windows Server 2016 editions, Windows Defender is installed with the operating system.
For Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008, Windows Defender is installed with the Desktop Experience Pack.
For a full list of the Windows editions and architectures that this component supports, see Security-Malware-Windows-Defender.
The following XML output shows how to configure the scheduled scan properties.
<Scan> <ScheduleDay>0</ScheduleDay> <ScheduleTime>120</ScheduleTime> <ScanParameters>1</ScanParameters> </Scan>