首页 > 代码库 > 如何用Powershell查看文件夹的owner属性

如何用Powershell查看文件夹的owner属性

PS D:\> Get-Acl *


    Directory: D:

Path                 Owner                  Access
----                 -----                  ------
BaiduYunDownload     SPREADTRUM\Sampson.Qiu NT AUTHORITY\SYSTEM Allow  FullControl...
Downloads            SPREADTRUM\Sampson.Qiu BUILTIN\Administrators Allow  FullControl...
importment softwares BUILTIN\Administrators NT AUTHORITY\SYSTEM Allow  FullControl...
OS                   BUILTIN\Administrators BUILTIN\Administrators Allow  FullControl...
personal             SPREADTRUM\Sampson.Qiu BUILTIN\Administrators Allow  FullControl...
powershell_study     BUILTIN\Administrators BUILTIN\Administrators Allow  FullControl...
tools                SPREADTRUM\Sampson.Qiu BUILTIN\Administrators Allow  FullControl...
VM                   BUILTIN\Administrators BUILTIN\Administrators Allow  FullControl...
windows share        BUILTIN\Administrators BUILTIN\Administrators Allow  FullControl...
work                 SPREADTRUM\Sampson.Qiu BUILTIN\Administrators Allow  FullControl...


本文出自 “运维部落” 博客,转载请与作者联系!

如何用Powershell查看文件夹的owner属性