Add-CMBoundaryToGroup

Assigns boundaries to a boundary group.

Syntax

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

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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-BoundaryGroupInputObject
Type:IResultObject
Aliases:BoundaryGroup
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-BoundaryGroupName

Specifies the name of a boundary group.

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

Specifies the ID of a boundary.

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

Specifies the name of a boundary.

Type:String
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
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
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

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

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
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
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False