From add3f3428970c3123cd4651cb3a9844127526427 Mon Sep 17 00:00:00 2001 From: Omnicef <69552619+Omnicef@users.noreply.github.com> Date: Tue, 25 Aug 2020 16:20:04 -0700 Subject: [PATCH] WinDefendQuickScanBackground Runs a Quick Scan using Windows Defender in the Background --- scripts/WindowsDefenderFullScanBackground.ps1 | 2 ++ scripts/WindowsDefenderQuickScanBackground.ps1 | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 scripts/WindowsDefenderFullScanBackground.ps1 create mode 100644 scripts/WindowsDefenderQuickScanBackground.ps1 diff --git a/scripts/WindowsDefenderFullScanBackground.ps1 b/scripts/WindowsDefenderFullScanBackground.ps1 new file mode 100644 index 00000000..af28671d --- /dev/null +++ b/scripts/WindowsDefenderFullScanBackground.ps1 @@ -0,0 +1,2 @@ +Write-Host "Running Windows Defender Full Scan in Background" -ForegroundColor Green +Start-MpScan -ScanPath C:\ -ScanType FullScan -AsJob \ No newline at end of file diff --git a/scripts/WindowsDefenderQuickScanBackground.ps1 b/scripts/WindowsDefenderQuickScanBackground.ps1 new file mode 100644 index 00000000..c4cf3f6f --- /dev/null +++ b/scripts/WindowsDefenderQuickScanBackground.ps1 @@ -0,0 +1,2 @@ +Write-Host "Running Windows Defender Full Scan in Background" -ForegroundColor Green +Start-MpScan -ScanPath C:\ -ScanType QuickScan -AsJob \ No newline at end of file