What security setting is preventing Remote PowerShell 2.0 from accessing UNC paths

前端 未结 2 1807
执笔经年
执笔经年 2020-12-02 19:10

This is just crazy, I am starting on PowerShell. And of course I need to do Admin work remotely.

A simple

dir \\\\server\\share\\folder
2条回答
  •  自闭症患者
    2020-12-02 19:51

    Powershell also uses Internet Explorer security settings on running remote scripts.

    I have found that, for whatever machine you are trying to have run a remote script, if I add the unc path of the remote machine to my trusted intrAnet sites, I can run scripts then (assuming my execution policy in posh is set to remotesigned...."set-executionpolicy remotesigned").

    I do a ton of administration for multiple servers with and without SQL, and I've never done anything with Enable-WSManCredSSP.

提交回复
热议问题