Get-CMBoundaryGroup
Get a boundary group.
Get-CMBoundaryGroup
[-Name <String>]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
Get-CMBoundaryGroup
-Id <String[]>
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
Use the Get-CMBoundaryGroup cmdlet to get a boundary group. A boundary group is a collection of boundaries.
You can use boundary groups to manage network locations. Before you can use the boundary group, assign boundaries to boundary groups . Boundary groups enable client computers to find a primary site for client assignment, and a list of available site systems that have content. For more information about boundaries, see Overview of boundaries and boundary groups in Configuration Manager.
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>
. For more information, see getting started.
This command gets a boundary group that is specified by the name BGroup01.
Get-CMBoundaryGroup -Name "BGroup01"
This command gets multiple boundary groups that are specified by the identifiers 5
and 6
.
Get-CMBoundaryGroup -Id 5,6
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specify an array of group IDs for one or more boundary groups. This value is an integer, for example 5
.
Type: | String[] |
Aliases: | GroupId |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specify the name for a boundary group.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | True |
None
IResultObject[]
IResultObject
For more information on this return object and its properties, see SMS_BoundaryGroup server WMI class.