码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2017-03-10 00:59:54      阅读:1375      评论:0      收藏:0      [点我收藏+]

标签:powershell;获取文件夹owner属性;get-acl

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属性

标签:powershell;获取文件夹owner属性;get-acl

原文地址:http://sampsondotqiu.blog.51cto.com/10760306/1904862

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!