Author Posts

January 1, 2012 at 12:00 am

by mi79528 at 2013-01-22 12:40:35

I'm new to PowerShell and this forum.
I am trying to get the “creator” of a directory, but am having trouble. I am only able to get the owner:

dir C:\ | where {$_.mode -match "d"} |
ForEach-Object {Get-Acl $_.FullName } |
Format-Table @{Label="Path";Expression={Convert-Path $_.Path}},Owner

Can you help?

by DonJ at 2013-01-22 13:45:24

Does NTFS even know the "creator" of a directory? This ( ... ained.aspx) suggests that the creator is the owner, unless the creator is a member of Administrators, in which case Administrators is the owner. In other words, it doesn't track owner/creator separately?

by mi79528 at 2013-01-23 06:24:09

Thank you. That helped!