Windows Server 2012 PowerShell
Windows PowerShell:- Remove files and folders from the Temp directory
Quick PowerShell Script!! If you have a temp directory that has many items in, selecting all from Explorer and then deleting them takes longer than using a simple PowerShell command: Here is the command you can run: Get-ChildItem -Path “C:\Windows\Temp” *.* -Recurse | Remove-Item -Force -Recurse If there are files Read more…