Get Drive/Folder Owner

GET-ACL “$Path”| Select-Object path, Owner -expand access | Select-Object @{n=”Path”;e={$_.Path.replace(“Microsoft.PowerShell.Core\FileSystem::”,””)}}, Owner, IdentityReference, FileSystemRights, AccessControlType, IsInherited

Original Article


Revision #2
Created 2025-02-07 20:38:07 UTC by Ryan
Updated 2025-03-12 17:48:07 UTC by Ryan