mirror of https://github.com/raandree/NTFSSecurity
Browse Source
Defect 19, and the same gap in Remove-NTFSAudit. After the ReadFileError for a path that doesn't exist, both cmdlets went on with a null item: the removal failed with a NullReferenceException that they reported as a second, misleading RemoveAceError, and with -PassThru the null item stopped the command. Both now continue with the next path. Tests: Access.Tests.ps1 and Audit.Tests.ps1, 2 tests each. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: AI Assistant <ai@example.com>pull/102/head
8 changed files with 49 additions and 0 deletions
Loading…
Reference in new issue