Skip to content

Get-FileHash access denied #11110

@chosebin

Description

@chosebin

When using PS 7 preview 5 Get-FileHash it returns access denied to path from pipe

ex.

Get-ChildItem -path "C:\Program Files\" -Recurse | Get-FileHash
Get-FileHash: Access to the path 'C:\Program Files\Common Files' is denied.

From Windows PS
Get-ChildItem -path "C:\Program Files\" -Recurse | Get-FileHash
Algorithm       Hash                                                                   Path
---------       ----

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions