Skip to content

Recycle - Force option shouldn't delete permanently #18

Description

@akaleeroy

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.

Maybe a change of name of the cmdlet?

Activity

  1. bdukes commented on Sep 16, 2022

    @bdukes
    Owner

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions