Do you love sweets? I love them. And there are some Powershell cmdlets those are tooo sweet like a sweet.
If you want to clear/ empty your recycle bin, there is a very sweet Powershell cmdlet available for it, which is Clear-RecycleBin .
Just run the cmdlet, and it will empty your recycle bin. You can incorporate this cmdlet to your TEMP file cleaning scripts too.Clear-RecycleBin
If you just run the Clear-RecycleBin, it will ask you for Yes/No confirmation, you can – -Confirm:$falseto omit it.
Reference link – http://newdelhipowershellusergroup.blogspot.in/
Posted by Sheikvara