Skip to content

Add -Force argument to Get-ChildItem #2

@phackt

Description

@phackt

$Dirs = Get-ChildItem $Drive.Root -Recurse -ErrorAction SilentlyContinue

Hello, i would like to know if there is any reason except performances to avoid the -Force argument in the Get-ChildItem cmdlet (to find extensions like ".rdp", ...).

We also can provide it as an argument to SessionGopher. I'm saying that because it misses some .rdp files in "C:\Users\All Users" for example.

Let me know what you think and i will pull request.

Thanks a lot for your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions