You've already forked SharedScripts
mirror of
https://github.com/jaapbrasser/SharedScripts.git
synced 2026-04-18 19:01:56 +02:00
Update Clear-RecycleBin.ps1
This commit is contained in:
@@ -12,10 +12,10 @@ Author : Jaap Brasser
|
||||
DateCreated: 2017-01-12
|
||||
DateUpdated: 2017-01-12
|
||||
Version : 1.0
|
||||
Blog : http://www.jaapbrasser.com
|
||||
Blog : https://www.jaapbrasser.com
|
||||
|
||||
.LINK
|
||||
http://www.jaapbrasser.com
|
||||
https://www.jaapbrasser.com
|
||||
|
||||
.EXAMPLE
|
||||
. .\Clear-RecycleBin.ps1
|
||||
@@ -36,4 +36,4 @@ Will remove the files and folders in the Recycle Bin for the current user
|
||||
(New-Object -ComObject Shell.Application).NameSpace(0x0a).Items() | ForEach-Object {
|
||||
Remove-Item -LiteralPath $_.Path -Force -Recurse
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user