This commit is contained in:
2026-06-13 03:05:46 -06:00
parent 7d31e44970
commit ef5439dd32
+1 -1
View File
@@ -119,7 +119,7 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S
Import-Module PSWindowsUpdate
Write-Host "Updating Windows 13/21 at $((Get-Date).ToString('yyyy-MM-dd-HHmm'))" | Tee-Object -FilePath "$MainLog" -Append
Get-WindowsUpdate -AcceptAll -Install -IgnoreReboot > $null 2>> "$MainLog"
Get-WindowsUpdate -AcceptAll -Install -IgnoreReboot > $null 2>> "$MainLog"d
Write-Host "Updating Malware Signatures 14/21 at $((Get-Date).ToString('yyyy-MM-dd-HHmm'))" | Tee-Object -FilePath "$MainLog" -Append
Update-MpSignature 2>> "$MainLog" # update windows defender malware siggs