|
@@ -24,5 +24,6 @@ Get-ChildItem -Recurse -Depth $Depth -Directory $path | ForEach-Object {
|
|
|
InheritedFrom=$rights.InheritedFrom
|
|
InheritedFrom=$rights.InheritedFrom
|
|
|
InheritanceEnabled=$rights.InheritanceEnabled
|
|
InheritanceEnabled=$rights.InheritanceEnabled
|
|
|
Account=$Account
|
|
Account=$Account
|
|
|
|
|
+ Owner=(Get-Acl $_.FullName).Owner
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|