Would you like to learn how to restart Windows using Powershell? In this tutorial, we are going to show you how to use Powershell to restart a computer running Windows.
• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 7
Equipment list
The following section presents the list of equipment used to create this tutorial.
As an Amazon Associate, I earn from qualifying purchases.
Related tutorial – PowerShell
On this page, we offer quick access to a list of tutorials related to PowerShell.
Tutorial Powershell – Empty the recycle bin
Start a Powershell command-line.
List the content of the recycle bin.
Here is the command output.
Optionally, display the content of the recycle bin formatted as a grid.
Here is the command output.
Clear the recycle bin.
Clear the recycle bin of a specific drive.
Congratulations! You are able to empty the recycle bin using Powershell.