mirror of https://github.com/raandree/NTFSSecurity
Browse Source
PowerShell 7 has no static File.GetAccessControl, because .NET Core made it an extension method, so the assertion of the -PassThru test passed there for the wrong reason: the method was missing. The test now reads with FileInfo.GetAccessControl or FileSystemAclExtensions and expects an UnauthorizedAccessException in both editions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: AI Assistant <ai@example.com>ai/release-5.0.0-rc6
1 changed files with 17 additions and 2 deletions
Loading…
Reference in new issue