balzac
This commit is contained in:
@@ -119,7 +119,7 @@ if (-not ([Security.Principal.WindowsIdentity]::GetCurrent().Groups -contains 'S
|
|||||||
Import-Module PSWindowsUpdate
|
Import-Module PSWindowsUpdate
|
||||||
|
|
||||||
Write-Host "Updating Windows 13/21 at $((Get-Date).ToString('yyyy-MM-dd-HHmm'))" | Tee-Object -FilePath "$MainLog" -Append
|
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
|
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
|
Update-MpSignature 2>> "$MainLog" # update windows defender malware siggs
|
||||||
|
|||||||
Reference in New Issue
Block a user