Add-CMBoundaryToGroup

Add-CMBoundaryToGroup

Assigns boundaries to a boundary group.

構文

Parameter Set: AddBoundaryToGroupById_Id
Add-CMBoundaryToGroup -BoundaryGroupId <Int32> -BoundaryId <Int32> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddBoundaryToGroupById_Name
Add-CMBoundaryToGroup -BoundaryGroupName <String> -BoundaryId <Int32> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddBoundaryToGroupById_Object
Add-CMBoundaryToGroup -BoundaryGroup <IResultObject> -BoundaryId <Int32> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddBoundaryToGroupByName_Id
Add-CMBoundaryToGroup -BoundaryGroupId <Int32> -BoundaryName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddBoundaryToGroupByName_Name
Add-CMBoundaryToGroup -BoundaryGroupName <String> -BoundaryName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddBoundaryToGroupByName_Object
Add-CMBoundaryToGroup -BoundaryGroup <IResultObject> -BoundaryName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddBoundaryToGroupByObject_Id
Add-CMBoundaryToGroup -Boundary <IResultObject> -BoundaryGroupId <Int32> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddBoundaryToGroupByObject_Name
Add-CMBoundaryToGroup -Boundary <IResultObject> -BoundaryGroupName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddBoundaryToGroupByObject_Object
Add-CMBoundaryToGroup -Boundary <IResultObject> -BoundaryGroup <IResultObject> [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

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

In Microsoft System Center 2012 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 (https://go.microsoft.com/fwlink/?LinkId=266225) on TechNet.

パラメーター

-Boundary<IResultObject>

Specifies a boundary object. To obtain a CMBoundary object, use the Get-CMBoundary cmdlet.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-BoundaryGroup<IResultObject>

Specifies a boundary group object. To obtain a CMBoundaryGroup object, use the Get-CMBoundaryGroup cmdlet.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-BoundaryGroupId<Int32>

Specifies the ID of a boundary group.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-BoundaryGroupName<String>

Specifies the name of a boundary group.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-BoundaryId<Int32>

Specifies the ID of a boundary.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-BoundaryName<String>

Specifies the name of a boundary.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Assign a boundary group to a boundary

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

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

関連トピック

Get-CMBoundary

Get-CMBoundaryGroup

Remove-CMBoundaryFromGroup