<

Windows 10 - Clear out Temp directory using PowerShell script

Posted on
8,348 Points
2,048 Views
3 Endorsements
Last Modified:
Published
Experience Level: Intermediate
1:46
Edward van Biljon (MVP)
Experienced Messaging Specialist with a demonstrated history of working in the information technology and services industry.
In this video we show you how to clear out your temp directory with a simple PowerShell command which removes the files a whole lot faster than using Explorer.

Video Steps

1. Click Start

Click start and then type in PowerShell and then launch it as administrator.

2. Type in Command

Enter in the following command to clear the temp directory: Get-ChildItem -Path "C:\Windows\Temp" *.* -Recurse | Remove-Item -Force -Recurse
3
0 Comments
Since Azure DevOps Server 2022 finally supports a deployment on Server Core, I can replace another GUI Server in my LAB. In this write up, I will show you all the steps to get it up and running in your environment.
This article presents an AutoHotkey (V1) script that creates a plain text report with information about all drives in a system that have a drive letter, such as C, D, E, etc. The information in the report is Type of drive, Status, Capacity, Free Spa…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month