Quantcast
Channel: Operations Manager - General forum
Viewing all articles
Browse latest Browse all 11941

ConnectorFrameworkProxy.GetConnectorState Method using Powershell

$
0
0

Hi All,

I'm trying to get the connector state using powershell in Operations Manager 2007 R2.

So far I've been able to do this:

$svc = New-WebServiceProxy –Uri 'http://localhost:51905/ConnectorFramework?WSDL'

The following Powershell command will list all Properties and Methods available from the Connector Framework

$svc | Get-Member  # Use Get-Member

One of the Properties of the Connector Framework is GetConnectorState() which you pass in the ConnectorID as an argument.

Then I try this:

$svc.GetConnectorState($ConnectorId)

Cannot find an overload for "GetConnectorState" and the argument count: "1".
At line:1 char:23
+ $svc.GetConnectorState <<<< ($ConnectorId)
    + CategoryInfo          : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodCountCouldNotFindBest

Am I missing something?


Viewing all articles
Browse latest Browse all 11941

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>