Get-CMDistributionPointGroup
Get-CMDistributionPointGroup
Gets distribution point groups.
Syntax
Parameter Set: SearchByName
Get-CMDistributionPointGroup [-Name <String> ] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Get-CMDistributionPointGroup -Id <String[]> [ <CommonParameters>]
Detailed Description
The Get-CMDistributionPointGroup cmdlet gets one or more distribution point groups.
Parameters
-Id<String[]>
Specifies an array of IDs of distribution point groups.
Aliases |
GroupId |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies the name of a distribution point group.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
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}"