Get-RecycleBin – Shows the contents of the Recycle Bin

As I posted earlier in the Clear-RecycleBin New PowerShell 5.0 cmdlet, available in Windows 10 article, in Windows 10 it is now possible to clear the Recycle Bin. Because the functionality to actually view which files is not implemented in any cmdlet at the moment I decided to upload a new function, Get-RecycleBin, to the TechNet Script Gallery.

Get-RecycleBin

Using the this function it is possible to view the contents of the recycle bin, including the filename, size and the current path in the Recycle Bin folder.

.EXAMPLE
Get-RecycleBin

Description
-----------
Executing this function will display the name, size and path of the files stored in the Recycle Bin for the current user

For more information or the direct download links of these scripts please refer to the links below. Feel free to leave a comment either here or in the TechNet Script Library.

TechNet Script Gallery
My entries in TechNet Script Gallery
JaapBrasser.com – Scripts
Get-RecycleBin – shows the contents of the Recycle Bin
Share

Leave a Reply