Get-CMBoundaryGroupRelationship

Get a boundary group relationship.

Syntax

Get-CMBoundaryGroupRelationship
   [-DestinationGroupName <String>]
   [-SourceGroupName <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMBoundaryGroupRelationship
   [-DestinationGroupId <Int32>]
   [-SourceGroupId <Int32>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

Use this cmdlet to get the relationship between boundary groups. 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

Get-CMBoundaryGroupRelationship -DestinationGroupName "Swindon" -SourceGroupName "London"

Parameters

-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:False
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:False
Accept pipeline input:False
Accept wildcard characters:True

-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

-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

-SourceGroupId

Specify the ID of the boundary group that has the relationship. This integer value is the GroupID property.

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

-SourceGroupName

Specify the name of the boundary group that has the relationship.

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

Inputs

None

Outputs

IResultObject[]

IResultObject

Notes

For more information on this return object and its properties, see SMS_BoundaryGroupRelationships server WMI class.