Get-CMBoundaryGroup

Get-CMBoundaryGroup

Gets a boundary group.

Syntax

Parameter Set: SearchByName
Get-CMBoundaryGroup [-Name <String> ] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Get-CMBoundaryGroup -Id <String[]> [ <CommonParameters>]

Detailed Description

The Get-CMBoundaryGroup cmdlet gets a boundary group. A boundary group is a collection of boundaries.

You can use boundary groups to manage network locations. You must assign boundaries to boundary groups before you can use the boundary group. Boundary groups enable client computers to find a primary site for client assignment (automatic site assignment) and a list of available site systems that have content. For more information about boundaries, see Planning for Boundaries and Boundary Groups in Configuration Manager in the TechNet library at https://go.microsoft.com/fwlink/?LinkId=266225.

Parameters

-Id<String[]>

Specifies an array of identifiers (IDs) for one or more boundary groups.

Aliases

GroupId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies the name for a boundary 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 boundary group that is specified by its identifier

This command gets a boundary group that is specified by the identifier 1600231.

PS C:\> Get-CMBoundaryGroup -Id "1600231"

Example 2: Get multiple boundary groups that are specified by name

This command gets multiple boundary groups that are specified by the names BGroup01, BGroup02, and BGroup03.

PS C:\> Get-CMBoundaryGroup -Name "BGroup01", "BGroup02", "BGroup03"

New-CMBoundaryGroup

Remove-CMBoundaryGroup

Set-CMBoundaryGroup