Update Win_Defender_QuickScan_Background.ps1

I did some tests and don't see value in specifying a drive letter. `QuickScanAge` resets to 0 even without a drive letter.

Having a drive letter seems to also assume something that may not be true.
This commit is contained in:
bbrendon 2021-10-04 12:29:41 -07:00 committed by GitHub
parent e0972b7c24
commit 9b6571ce68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
Write-Host "Running Windows Defender Full Scan in Background" -ForegroundColor Green Write-Host "Running Windows Defender Quick Scan in Background" -ForegroundColor Green
Start-MpScan -ScanPath C:\ -ScanType QuickScan -AsJob Start-MpScan -ScanType QuickScan -AsJob