<

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 document presents the Modern Active Directory project, which aims to bring a more modern view on your Active Directory, whether to view key indicators or to perform advanced searches in a simple way. With this PowerShell module that accesses …

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month