Skip to content

Get-NtfsAccess Command Fails on Directory Ending with Space #90

Description

@pulkjr

Description: When running the Get-NtfsAccess command against a directory that ends with a space, an error is thrown.

Steps to Reproduce:

Given: A directory that ends in a space.
When: The Get-NtfsAccess command is run against the directory.
Then: The error “Get-NTFSAccess: Unable to find the specified file.” is thrown.

Additional Information:

All native commands seem to be working correctly, such as Get-Acl, Get-ChildItem, and Test-Path.

Environment:

Window Server 2019, PowerShell 7.5.1

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