From bf1ae6eb3aecd8cde82da034b65de5e83d6318f4 Mon Sep 17 00:00:00 2001 From: dyoder Date: Tue, 8 Sep 2020 22:27:14 -0400 Subject: [PATCH] added Microsoft-Windows-Store_*.evtx --- Cleanup-SystemTempFiles.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Cleanup-SystemTempFiles.ps1 b/Cleanup-SystemTempFiles.ps1 index 8508bd9..f29db50 100644 --- a/Cleanup-SystemTempFiles.ps1 +++ b/Cleanup-SystemTempFiles.ps1 @@ -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