Get-ChildItem Cannot Find Path Because It Does Not Exist

后端 未结 3 1664
时光说笑
时光说笑 2021-01-19 01:31

I\'m working on a script to get my ACLs for all of the shares in my network. I have three separate UNC paths that I am running this on. Two of the three are working perfec

3条回答
  •  迷失自我
    2021-01-19 02:03

    The error message is literally correct. \\storageserver is not a path. It is two backslashes followed by a computer name.

    Append a share name to it, and it becomes a path; e.g. \\storageserver\sharename.

提交回复
热议问题