New-CMBoundaryGroupRelationship

Create a boundary group relationship.

Syntax

New-CMBoundaryGroupRelationship
   -DestinationGroupName <String>
   [-FallbackDPMinutes <Int32>]
   [-FallbackMPMinutes <Int32>]
   [-FallbackSmpMinutes <Int32>]
   [-FallbackSupMinutes <Int32>]
   -SourceGroupName <String>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-CMBoundaryGroupRelationship
   -DestinationGroup <IResultObject>
   [-FallbackDPMinutes <Int32>]
   [-FallbackMPMinutes <Int32>]
   [-FallbackSmpMinutes <Int32>]
   [-FallbackSupMinutes <Int32>]
   -SourceGroup <IResultObject>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-CMBoundaryGroupRelationship
   -DestinationGroupId <Int32>
   [-FallbackDPMinutes <Int32>]
   [-FallbackMPMinutes <Int32>]
   [-FallbackSmpMinutes <Int32>]
   [-FallbackSupMinutes <Int32>]
   -SourceGroupId <Int32>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Use this cmdlet to create a relationship between boundary groups. Boundary groups that you link together are called neighbor boundary groups. A boundary group can have more than one relationship, each with a specific neighbor boundary group.

When a client fails to find an available site system in its current boundary group, the configuration of each relationship determines when it begins to search a neighbor boundary group. This search of other groups is called fallback.

For more information, see Configure boundary groups for Configuration Manager.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Create a relationship for only content

This command creates a relationship between the Swindon and London boundary groups. Distribution points fall back after five minutes. Software update points and management points never fall back.

New-CMBoundaryGroupRelationship -SourceGroupName "Swindon" -DestinationGroupName "London" -FallbackDPMinutes 5 -FallbackSupMinutes -1 -FallbackMPMinutes -1

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-DestinationGroup

Specify a boundary group object for the neighbor. To get this object, use the Get-CMBoundaryGroup cmdlet.

The destination boundary group can't be the same as the source boundary group.

Type:IResultObject
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DestinationGroupId

Specify the ID of the neighbor boundary group. This integer value is the GroupID property.

The destination boundary group can't be the same as the source boundary group.

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

-DestinationGroupName

Specify the name of the neighbor boundary group.

The destination boundary group can't be the same as the source boundary group.

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

-DisableWildcardHandling

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

-FallbackDPMinutes

Specify an integer value for the fallback time in minutes for distribution points (DP) from the source to the destination boundary group. To set the option to Never fallback, specify the value -1.

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

-FallbackMPMinutes

Specify an integer value for the fallback time in minutes for management points (MP) from the source to the destination boundary group. To set the option to Never fallback, specify the value -1.

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

-FallbackSmpMinutes

Specify an integer value for the fallback time in minutes for state migration points (SMP) from the source to the destination boundary group. To set the option to Never fallback, specify the value -1.

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

-FallbackSupMinutes

Specify an integer value for the fallback time in minutes for software update points (SUP) from the source to the destination boundary group. To set the option to Never fallback, specify the value -1.

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

-ForceWildcardHandling

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

-SourceGroup

Specify a boundary group object from which to create the relationship. To get this object, use the Get-CMBoundaryGroup cmdlet.

Type:IResultObject
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-SourceGroupId

Specify the ID of the boundary group from which to create the relationship. This integer value is the GroupID property.

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

-SourceGroupName

Specify the name of the boundary group from which to create the relationship.

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet doesn't run.

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

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

IResultObject