Summary: Use Windows PowerShell to determine if an NTFS folder inherits from its parent folder.
How can I use Windows PowerShell to determine if an NTFS folder inherits from its parent folder?
Use the Get-NTFSAccessInheritance cmdlet provided by the NTFSSecurity module, for example:
Get-NTFSAccessInheritance -Path C:\Windows
Or if you want to query multiple folders:
dir -Recurse | Get-NTFSAccessInheritance | Where-Object { -not $_.InheritanceEnabled }