Get-CMDistributionPointGroup
Get-CMDistributionPointGroup
Gets distribution point groups.
構文
Parameter Set: SearchByName
Get-CMDistributionPointGroup [-Name <String> ] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Get-CMDistributionPointGroup -Id <String[]> [ <CommonParameters>]
詳細説明
The Get-CMDistributionPointGroup cmdlet gets one or more distribution point groups.
パラメーター
-Id<String[]>
Specifies an array of IDs of distribution point groups.
エイリアス |
GroupId |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Name<String>
Specifies the name of a distribution point group.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Get a distribution point group by using an ID
This command get the distribution point group that has the ID 6617708D-0F98-4898-8D05-9E882C23DCB2.
PS C:\> Get-CMDistributionPointGroup -Id "{6617708D-0F98-4898-8D05-9E882C23DCB2}"
Example 2: Get a distribution point group by using a name
This command gets the distribution point group named Dpg01 and that has the ID FA921CF2-89C9-407D-A21D-FE6947F2C00A.
PS C:\> Get-CMDistributionPointGroup -Name "Dpg01" -Id "{FA921CF2-89C9-407D-A21D-FE6947F2C00A}"