Powershell

如何在 Powershell 中使用對 SC Orchestrator 的 Web 服務呼叫來啟動執行手冊?

  • August 6, 2014

我有 System Center Orchestrator 2012 R2,我想通過呼叫 Web 服務在 Runbook 伺服器上啟動一個 Runbook。如果我像這樣瀏覽協調器控制台,它可以正常工作:http://orchestratorserver.my.domain:82

當我第一次瀏覽它時,系統會提示我輸入我的域憑據,然後才會載入 Orchestrator 控制台頁面。

如果我呼叫這個PowerShell 腳本,我會收到以下錯誤,我想知道它是否與憑據提示有關?Orchestrator Runbook 伺服器或我從中呼叫的主機上沒有防火牆。

Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (405) Method Not Allowed."

我通過使用此處的模組使其工作。 http://orchestrator.codeplex.com/releases/view/82959

引用自:https://serverfault.com/questions/618038