Summary: Easily purge the Recycle Bin on a targeted drive with PowerShell 5.
How can I use Windows PowerShell to easily flush out the Recycle Bin?
In Windows PowerShell 5.0, use the Clear-RecycleBin cmdlet. For example, run the
following command with elevated rights to purge the Recycle Bin on drive C:
Clear-RecycleBin –DriveLetter C -force