Directory Creator

Welcome Forums General PowerShell Q&A Directory Creator

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

  • Author
  • #5462

    Points: 0
    Rank: Member

    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!

The topic ‘Directory Creator’ is closed to new replies.