Set-CMManagementPointComponent

Set-CMManagementPointComponent

Sets a component for a management point in Configuration Manager.

Syntax

Parameter Set: SearchBySiteCodeMandatory
Set-CMManagementPointComponent -PublishDns <Boolean> -SiteCode <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByNameMandatory
Set-CMManagementPointComponent -Name <String> -PublishDns <Boolean> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Set-CMManagementPointComponent -InputObject <IResultObject> -PublishDns <Boolean> [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Set-CMManagementPointComponent cmdlet sets a component for a management point in Microsoft System Center 2012 SP1 Configuration Manager.

Parameters

-InputObject<IResultObject>

Specifies an input object. To obtain an input object, use the Get-CMManagementPointComponent cmdlet.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies a name in Configuration Manager.

Aliases

SiteName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-PublishDns<Boolean>

Indicates whether to publish resource records for the management point component in the Domain Name System (DNS). Configuration Manager clients use DNS service location resource records (SRV RR) to find a management point in a site.

For Configuration Manager to publish management points to DNS, your DNS servers must have version 8.1.2 of BIND, or later. Your DNS servers must be configured for automatic updates and support service location resource records. The fully qualified domain names (FQDNs) of management points must have host entries in DNS.

You must assign clients to a specific site and configure the clients to use the site code with the domain suffix of their management point.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteCode<String>

Specifies a site code in Configuration Manager.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).

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: Set a management point component

The command sets a management point component by using the SiteCode parameter. The command also sets the PublishDNS parameter to $True to publish the management point component in DNS.

PS C:\> Set-CMManagementPointComponent -SiteCode "CM1" -PublishDNS $True

Get-CMManagementPointComponent