我想在多个远程机器上安装应用程序。Powershell远程验证和应用程序安装
invoke-command -computer 10.13.14.10 -scriptblock {\\publicshare\software.msi /quiet}
我运行此命令从我的本地机器上登录为我的用户权限,好像我必须执行这个作为高权限的用户(域管理员)。我怎么做?
错误 - [10.13.14.10] Connecting to remote server failed with the following error message : The WinRM client cannot process the request. Default authentication may be used with an IP address under the following conditions: the transport is HTTPS or the destination is in the TrustedHosts list, and explicit creden tials are provided. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. For more informatio n on how to set TrustedHosts run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (:) [], PSRemotingTransportException + FullyQualifiedErrorId : PSSessionStateBroken