script library empty recycle bin2

This commit is contained in:
silversword411 2021-04-11 11:26:59 -04:00
parent 59c47e9200
commit c62a5fcef2
3 changed files with 4 additions and 4 deletions

View File

@ -464,11 +464,11 @@
},
{
"guid": "c6014da2-b188-4e1b-b96a-e3440ade3a6a",
"filename": "Win_RecycleBin_Empty.bat",
"filename": "Win_RecycleBin_Empty.ps1",
"submittedBy": "https://github.com/silversword411",
"name": "File System - Empty Recycle Bin",
"description": "Empty the recycle bin on C",
"shell": "cmd",
"description": "Empty the recycle bin",
"shell": "powershell",
"category": "TRMM (Win):Storage"
}
]

View File

@ -1 +0,0 @@
del /s /q %systemdrive%\$Recycle.bin

View File

@ -0,0 +1 @@
Clear-RecycleBin -Force