Export (0) Print
Expand All
Expand Minimize

Set-CMBoundary

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Set-CMBoundary

Modifies boundary settings.

Syntax

Parameter Set: SetById
Set-CMBoundary -Id <String[]> [-NewName <String> ] [-Type <BoundaryTypes> {ADSite | IPRange | IPSubnet | IPV6Prefix} ] [-Value <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SetByName
Set-CMBoundary -Name <String[]> [-NewName <String> ] [-Type <BoundaryTypes> {ADSite | IPRange | IPSubnet | IPV6Prefix} ] [-Value <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SetByValueMandatory
Set-CMBoundary -InputObject <IResultObject> [-NewName <String> ] [-Type <BoundaryTypes> {ADSite | IPRange | IPSubnet | IPV6Prefix} ] [-Value <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Set-CMBoundary cmdlet modifies boundary settings.

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.

Parameters

-Id<String[]>

Specifies an array of boundary identifiers (IDs).


Aliases

BoundaryId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies an input object to this cmdlet. You can get the input object by using the Get-CMBoundary cmdlet.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String[]>

Specifies an array of boundary names.


Aliases

DisplayName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-NewName<String>

Specifies a new name for a boundary.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Type<BoundaryTypes>

Specifies a boundary type. Valid values are: ADSite, IPV6Prefix, IPSubnet, and IPRange.


Aliases

BoundaryType

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Value<String>

Specifies the data that describes the boundary. For example, an Active Directory site value can be Default-ADSite.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Rename a boundary

This command changes a boundary name from Default-ADSite to ADSiteBoundary01.


PS C:\> Set-CMBoundary -Name "Default-ADSite" -NewName "ADSiteBoundary01"

Example 2: Modify the value of a boundary by using an InputObject

In this example, the first command gets a boundary that has the ID of 16777217 and inserts it into the input object $BoundaryObj.

The second command identifies the boundary by using the input object $BoundaryObj and modifies its value to IPSubnet17.


PS C:\> $BoundaryObj = Get-CMBoundary -Id "16777217"
PS C:\> Set-CMBoundary -InputObject $BoundaryObj -Value "IPSubnet17"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft