Directory Creator

This topic contains 0 replies, has 1 voice, and was last updated by  Forums Archives 5 years, 8 months ago.

  • Author
    Posts
  • #5462

    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 (http://networkadminkb.com/KB/a80/creato ... 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!

You must be logged in to reply to this topic.