Get-ChildItem Cannot Find Path Because It Does Not Exist

后端 未结 3 1697
时光说笑
时光说笑 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:19

    You can list shares by calling:

    net view \\
    

    source: PowerShell Get List Of Folders Shared

提交回复
热议问题