added Microsoft-Windows-WindowsUpdateClient_*.evts

This commit is contained in:
2020-09-08 22:25:45 -04:00
parent 0065e371e1
commit efccd5f817
+1
View File
@@ -9,6 +9,7 @@ If ( (IsWindowsVersion -ge "6.2") )
Get-ChildItem -Path $SysTemp | Where { $_.Name -like "AppXPackaging_*.evtx" } | Remove-Item -Force -ErrorAction SilentlyContinue
Get-ChildItem -Path $SysTemp | Where { $_.Name -like "Application_*.evtx" } | Remove-Item -Force -ErrorAction SilentlyContinue
Get-ChildItem -Path $SysTemp | Where { $_.Name -like "System_*.evtx" } | Remove-Item -Force -ErrorAction SilentlyContinue
Get-ChildItem -Path $SysTemp | Where { $_.Name -like "Microsoft-Windows-WindowsUpdateClient_*.evtx" } | Remove-Item -Force -ErrorAction SilentlyContinue
}
## Remove computer log files