“的文件和subfoldes所有者信息列表”我可以看到一些在这个环节“https://community.spiceworks.com/scripts/show/1722-get-fileowner”与powershelll脚本
我试过,但例子,但他们都不是在为me.Thanku!
“的文件和subfoldes所有者信息列表”我可以看到一些在这个环节“https://community.spiceworks.com/scripts/show/1722-get-fileowner”与powershelll脚本
我试过,但例子,但他们都不是在为me.Thanku!
这将做到这一点
get-childitem c:\users\usera\documents -Recurse | foreach{
$f = $_.FullName
$o = Get-Acl $f | Select -ExpandProperty Owner
Write-Output "$f is owned by $o"
}
,问题是......?请概述您已经尝试过的方法以及您卡住的位置,最好使用代码示例。 – jlapoutre
这可能吗?是的,是的。 – TheMadTechnician