Get-SCManagementGroupConnection

すべての管理グループ接続を取得します。

構文

Empty (既定)

Get-SCManagementGroupConnection
    [<CommonParameters>]

FromComputerNames

Get-SCManagementGroupConnection
    [-ComputerName] <String[]>
    [<CommonParameters>]

FromInstanceId

Get-SCManagementGroupConnection
    [-Id] <Guid[]>
    [<CommonParameters>]

FromManagementGroupName

Get-SCManagementGroupConnection
    [-ManagementGroupName] <String[]>
    [<CommonParameters>]

説明

Get-SCManagementGroupConnection コマンドレットは、これらの接続の IsActive 状態を含むすべての管理グループ接続を取得します。 IsActive 状態は、いつでも 1 つの接続しかアクティブにできないため、Trueに設定されるのは 1 つの接続だけです。

例 1: 使用可能なすべての管理グループ接続を取得する

PS C:\>Get-SCManagementGroupConnection


ManagementServerName    ManagementGroupName                 Domain          UserName             IsActive
--------------------    -------------------                 ------          --------             --------
localhost               MyManagementGroup                                                        True

このコマンドは、使用可能なすべての管理グループ接続を取得します。

パラメーター

-ComputerName

接続を確立するコンピュータを指定します。 コンピュータは、System Center データ アクセス サービスを実行している必要があります。 既定値は、現在の管理グループ接続のコンピューターです。

有効な形式には、NetBIOS 名、IP アドレス、または完全修飾ドメイン名 (FQDN) があります。 ローカル コンピューターを指定するには、コンピューター名、"localhost"、またはドット (.) を入力します。

パラメーターのプロパティ

型:

System.String[]

規定値:Localhost
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

FromComputerNames
配置:1
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-Id

接続を取得する管理グループの ID を指定します。

パラメーターのプロパティ

型:

System.Guid[]

規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

FromInstanceId
配置:1
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-ManagementGroupName

接続を取得する管理グループの名前を指定します。

パラメーターのプロパティ

型:

System.String[]

規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

FromManagementGroupName
配置:1
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。

入力

System.String

コンピューター名を Get-SCManagementGroupConnection コマンドレットの ComputerName パラメーターにパイプ処理できます。

出力

SessionObject

このコマンドレットは、SessionObject オブジェクトを生成します。