Set-CMManagementPointComponent

Sets a component for a management point in Configuration Manager.

Syntax

Set-CMManagementPointComponent
   [-PublishDns <Boolean>]
   [-SiteCode <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMManagementPointComponent
   -InputObject <IResultObject>
   [-PublishDns <Boolean>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMManagementPointComponent
   -Name <String>
   [-PublishDns <Boolean>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-CMManagementPointComponent cmdlet sets a component for a management point in 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: Set a management point component

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

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.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
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

-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

-InputObject

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

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

-Name

Specifies a name in Configuration Manager.

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

-PublishDns

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.

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

-SiteCode

Specifies a site code in Configuration Manager.

Type:String
Position:Named
Default value:None
Required:False
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:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject