Add-CMBoundaryToGroup

Assigns boundaries to a boundary group.

Syntax

Add-CMBoundaryToGroup
   -BoundaryGroupId <Int32>
   -BoundaryId <Int32>
   [-Confirm]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [<CommonParameters>]
Add-CMBoundaryToGroup -BoundaryGroupId  -BoundaryName  [-Confirm] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] []
Add-CMBoundaryToGroup -BoundaryGroupId  [-Confirm] [-DisableWildcardHandling] [-ForceWildcardHandling]
 -InputObject  [-WhatIf] []
Add-CMBoundaryToGroup -BoundaryGroupInputObject  [-Confirm] [-DisableWildcardHandling]
 [-ForceWildcardHandling] -InputObject  [-WhatIf] []
Add-CMBoundaryToGroup -BoundaryGroupInputObject  -BoundaryId  [-Confirm]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] []
Add-CMBoundaryToGroup -BoundaryGroupInputObject  -BoundaryName  [-Confirm]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] []
Add-CMBoundaryToGroup -BoundaryGroupName  -BoundaryId  [-Confirm] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] []
Add-CMBoundaryToGroup -BoundaryGroupName  -BoundaryName  [-Confirm] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] []
Add-CMBoundaryToGroup -BoundaryGroupName  [-Confirm] [-DisableWildcardHandling]
 [-ForceWildcardHandling] -InputObject  [-WhatIf] []

Description

The Add-CMBoundaryToGroup cmdlet assigns boundaries to a boundary group.

In Microsoft System Center Configuration Manager, a boundary is an intranet location that contains one or more devices that you can manage. A boundary can be an IP subnet, Active Directory site name, IPv6 prefix, or an IP address range.

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, which is referred to as 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 on TechNet.

Examples

Example 1: Assign a boundary group to a boundary

PS C:\>Add-CMBoundaryToGroup -BoundaryGroupID "16777219" -BoundaryName "CLBound03"

This command assigns the boundary named to CLBound03 to the boundary group that has the Id 16777219.

Required Parameters

-BoundaryGroupId

Specifies the ID of a boundary group.

Type:Int32
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-BoundaryGroupInputObject
Type:IResultObject
Aliases:BoundaryGroup
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-BoundaryGroupName

Specifies the name of a boundary group.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-BoundaryId

Specifies the ID of a boundary.

Type:Int32
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-BoundaryName

Specifies the name of a boundary.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet.

Type:IResultObject
Aliases:Boundary, BoundaryInputObject
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False