Skip to content

Get-ChildItem and Get-Item should be able to work with ambiguous paths #3

@krzysztof-chmiel

Description

@krzysztof-chmiel

I have items with the same path in the system (it is not forbidden and sometime it happens). I've noticed that command get-childitem -recurse returns only only first item of those who have the same path.
I'm trying to use Powershell to repair such items so I would expect commands to return the additonal items in some way.

I'll find the items using object properties so there is no problem with it. But the queestion is: it this a feature of commands to treat the item path as unique? If yes and that will be left for better performance I would be happy if there would be some switch to turn that assumption off for example "-nonUniquePaths" param.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions