Get-SCSMConnector

Get-SCSMConnector

Retrieves connectors that are defined in Service Manager.

構文

Parameter Set: FromEMODisplayNameParameterSetName
Get-SCSMConnector [-DisplayName] <String[]> [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-SCSession <Connection[]> ] [ <CommonParameters>]

Parameter Set: FromEMOIdParameterSetName
Get-SCSMConnector [-Id] <Guid[]> [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-SCSession <Connection[]> ] [ <CommonParameters>]

Parameter Set: FromEMONameParameterSetName
Get-SCSMConnector [-Name] <String[]> [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-SCSession <Connection[]> ] [ <CommonParameters>]

詳細説明

The Get-SCSMConnector cmdlet retrieves connectors that are defined in Service Manager. If the Name parameter is omitted, then all connectors are retrieved. For each returned connector, the cmdlet displays type, name, and status information.

パラメーター

-ComputerName<String[]>

Specifies the name of the computer on which the Service Manager SDK Service runs. The user account that is defined in the Credential parameter must have access rights to the specified computer.

エイリアス

なし

必須?

false

位置は?

named

既定値

localhost

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

-Credential<PSCredential>

Represents a user with the credentials to interact with Service Manager. If not properly specified, the cmdlet returns a terminating error.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

-DisplayName<String[]>

Specifies the display name of the connector to retrieve.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

-Id<Guid[]>

Specifies the ID of the connector to retrieve.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

-Name<String[]>

Specifies the name of the connector to retrieve. You can specify a regular expression.

エイリアス

なし

必須?

true

位置は?

1

既定値

.*

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

-SCSession<Connection[]>

Specifies an object that represents the session to a Service Manager management server.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • System.String

    You can pipe a name to the Name parameter of the Get-SCSMConnector cmdlet.

  • System.Guid

    You can pipe a GUID to the Id parameter of the Get-SCSMConnector cmdlet.

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.EnterpriseManagement.ServiceManager.Sdk.Connectors.ADConnector

    This cmdlet retrieves connector objects that include the information that describes each connector and its properties.

Example 1: Get all connectors

This command retrieves all connectors and for each connector displays its status, display name, and its data provider.

C:\PS>Get-SCSMConnector

Example 2: Get a specific connector

This command retrieves all connectors whose DisplayName matches the string SCSM.

C:\PS>Get-SCSMConnector -DisplayName "SCSM*"

関連トピック

Remove-SCSMConnector

Start-SCSMConnector

Update-SCSMConnector