You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Recycle - Force option shouldn't delete permanently #18
Remove-ItemSafely -Force becomes a misnomer if the -Force switch makes the command unsafe (delete permanently, without a confirmation prompt). For deleting permanently users ought to use Remove-Item.
Yes, the cmdlet is poorly designed, in that using Remove-Item parameters that aren't supported causes it to fall back to Remove-Item (and, therefore, silently before "unsafe"). Fixes are definitely welcome.
Remove-ItemSafely -Forcebecomes a misnomer if the-Forceswitch makes the command unsafe (delete permanently, without a confirmation prompt). For deleting permanently users ought to useRemove-Item.Maybe a change of name of the cmdlet?