# 1. Current User Temp $userTemp = "$env:TEMP" $locations += @Path = $userTemp; Name = "Current User Temp"

$totalFreed = 0 $locations = @()

Write-Host "Desktop shortcut created!" -ForegroundColor Green function Create-ScheduledTask $taskName = "WindowsTempCleaner" $scriptPath = $MyInvocation.MyCommand.Path

echo Cleaning prefetch... del /q /f /s "%SystemRoot%\Prefetch*" > nul 2>&1

Windows 11 Clear Temp Files Info

# 1. Current User Temp $userTemp = "$env:TEMP" $locations += @Path = $userTemp; Name = "Current User Temp"

$totalFreed = 0 $locations = @()

Write-Host "Desktop shortcut created!" -ForegroundColor Green function Create-ScheduledTask $taskName = "WindowsTempCleaner" $scriptPath = $MyInvocation.MyCommand.Path windows 11 clear temp files

echo Cleaning prefetch... del /q /f /s "%SystemRoot%\Prefetch*" > nul 2>&1 windows 11 clear temp files