<

Windows 10 - Clear out Temp directory using PowerShell script

Posted on
6,365 Points
266 Views
1 Endorsement
Last Modified:
Published
Experience Level: Intermediate
1:44
Edward van Biljon
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
1
0 Comments
This article helps you to connect to Exchange Online Powershell with MFA enabled user.
While repairing a troublesome IMAP connection with Office 365, a list of over 500 Outlook Contacts mysteriously disappeared. Learn how to prevent and safeguard yourself against that happening to you by following the steps in this article.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month