PowerShell command returned an exception. 一个或多个计算机名无效。如果您要尝试传递 URI,请使用 -ConnectionUri 参数,或传递 URI 对象而不是字符串。
Exception: InvalidOperationException
Target site: PSRunspaceInvoker.HandleInvokeException
Stack trace:
在 Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSRunspaceInvoker.HandleInvokeException(Exception ex, ILogger logger)
在 Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSRunspaceInvoker.Invoke(RunspaceInvoke runspace, String script, ILogger logger)
在 Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSRemoteRunspaceWrapper.Create(PSSessionConnection connection)
在 Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSRunspaceWrapperFactory.Create(PSSessionConnection connection, ILogger logger)
在 Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSRunspaceThreadStorage.GetRunspace(PSSessionConnection connection, ILogger logger)
在 Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSRunspaceManager.GetRunspace(Int32 threadId, PSSessionConnection connection, ILogger logger)
在 Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSScriptRunner.Execute(String script)
在 Microsoft.SystemCenter.Orchestrator.Integration.VMM2012Domain.VM.Get(String vmmServer, String whereClause, String selectObjectClause)
在 Microsoft.SystemCenter.Orchestrator.Integration.VMM2012QIK.VM.GetVM.DoExecute(IActivityRequest request, ILogger logger)
在 Microsoft.SystemCenter.Orchestrator.Integration.VMM2012QIK.ActivityBase`2.Execute(IActivityRequest request, IActivityResponse response)