added Microsoft-Windows-Store_*.evtx

This commit is contained in:
2020-09-08 22:27:14 -04:00
parent efccd5f817
commit bf1ae6eb3a
+1
View File
@@ -10,6 +10,7 @@ If ( (IsWindowsVersion -ge "6.2") )
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
Get-ChildItem -Path $SysTemp | Where { $_.Name -like "Microsoft-Windows-Store_*.evtx" } | Remove-Item -Force -ErrorAction SilentlyContinue
}
## Remove computer log files