How can I view the owner for a file from PowerShell?

John Savill

May 13, 2007

1 Min Read
ITPro Today logo

A. To view this information, you can use PowerShell's get-acl cmdlet, as follows: get-acl boot.wimThat command returns the owner of a file or folder, along with other items, including the path and access information. To display just the owner, repeat the command in brackets with just the owner attribute--for example,(get-acl boot.wim).owner

About the Author(s)

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like