是否有限制Get-Acl
,因为它不适用于映射驱动器?
当我运行它时C:\Test
,它工作正常。当我运行映射驱动器时,我得到:
Get-Acl : Method failed with unexpected error code 50.
At line:1 char:1
+ Get-Acl U:\Themes
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-Acl], InvalidOperationException
+ FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.GetAclCommand
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句