Skip navigation

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

A. To view this information, you can use PowerShell's get-acl cmdlet, as follows: get-acl boot.wim That 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

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish