Created
July 20, 2020 12:11
-
-
Save SQLDBAWithABeard/a8a921340363e43e4f068e185c41903f to your computer and use it in GitHub Desktop.
Recycle Bin with PowerShell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$shell = New-Object -com shell.application | |
$rb = $shell.Namespace(10) | |
$rb.Items() | Sort ModifyDate -Descending | Select -first 10 | ft |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment