Skip to content

Enable-NTFSAuditInheritance is disabling Audit Inheritance. #74

Description

@Niceswitches

Hi
First of all great PS module.
I am trying to use your Enable-NTFSAuditInheritance cmdlet, but it doesn't seem to work.

PS C:\WINDOWS\system32> Enable-NTFSAuditInheritance "F:\Videos\Video1\Video1.1.mp4" -PassThru

Name                           AccessInheritanceEnabled AuditInheritanceEnabled
----                              ------------------------     -----------------------
Video1.1.mp4              True                                       False                   

I was searching for a while before I came across your module for a way to do this in PS and apparently this is a bug.
If this cmdlet is run against a file with Audit Inheritance on, then it will also disable it.
I was wondering if you have also experienced this?
Many thanks
NS

Metadata

Metadata

Assignees

Labels

QuestionSomeone has a question about feature or usability

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions