From 3f89290295152b6f57c7d83d2fb5d2487fe15327 Mon Sep 17 00:00:00 2001 From: David Yoder Date: Fri, 15 Aug 2025 15:57:59 -0400 Subject: [PATCH] fix old downloaded apps cleaner --- Cleanup-SystemTempFiles.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cleanup-SystemTempFiles.ps1 b/Cleanup-SystemTempFiles.ps1 index 2d72c91..dd7725f 100644 --- a/Cleanup-SystemTempFiles.ps1 +++ b/Cleanup-SystemTempFiles.ps1 @@ -232,7 +232,7 @@ ForEach ( $userProfile in $(Get-UserProfiles) ) { ForEach ( $oldDownloadedApp in $OldDownloadedApps ) { $path = $oldDownloadedApp.FullName Write-Output " - Deleting: ""${path}""" - Try { Remove-Item -Path $path.FullName -Force -ErrorAction SilentlyContinue } + Try { Remove-Item -Path $path -Force -ErrorAction SilentlyContinue } Catch { Write-Error $_.Exception.Message } } }