Powershell fails with Update

后端 未结 3 692
清酒与你
清酒与你 2021-02-07 23:43

When I run Update-Help it fails in Powershell. I am not going through a proxy. It is Direct Access. I am also running Powershell as an Admin. I am not sure what els

3条回答
  •  执念已碎
    2021-02-08 00:12

    workaround:

    Update-Help -Verbose -Force -ErrorAction SilentlyContinue 
    

    -verbose will output whatever command is doing, -force will forcefully complete the script even if error occurs in between, -ErrorAction SilentlyContinue will do similar stuff like above.

    In short, modules still won't get updated which were not updating earlier

提交回复
热议问题