Set-CMManagementPoint

Changes settings for a management point in Configuration Manager.

Syntax

Set-CMManagementPoint
   [-AllowDevice <Boolean>]
   [-ClientConnectionType <ClientConnectionTypes>]
   [-DatabaseName <String>]
   [-EnableCloudGateway <Boolean>]
   [-EnableSsl <Boolean>]
   [-GenerateAlert <Boolean>]
   -InputObject <IResultObject>
   [-PassThru]
   [-SqlServerFqdn <String>]
   [-SqlServerInstanceName <String>]
   [-UseComputerAccount]
   [-UserName <String>]
   [-UseSiteDatabase <Boolean>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMManagementPoint
   [-AllowDevice <Boolean>]
   [-ClientConnectionType <ClientConnectionTypes>]
   [-DatabaseName <String>]
   [-EnableCloudGateway <Boolean>]
   [-EnableSsl <Boolean>]
   [-GenerateAlert <Boolean>]
   [-PassThru]
   [-SiteCode <String>]
   [-SiteSystemServerName] <String>
   [-SqlServerFqdn <String>]
   [-SqlServerInstanceName <String>]
   [-UseComputerAccount]
   [-UserName <String>]
   [-UseSiteDatabase <Boolean>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-CMManagementPoint cmdlet changes settings for a management point in Configuration Manager. A management point is a Configuration Manager site that provides policy and service information to clients and receives configuration data from clients.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Change management point settings for site system and site code

PS XYZ:\> Set-CMManagementPoint -SiteSystemServerName "CMDEV-TEST02.TSQA.CORP.CONTOSO.COM" -SiteCode "CM2" -EnableSSL $False -UseSiteDatabase $True

This command changes settings for a management point in a Configuration Manager installation. The command specifies the following information about the management point:

  • The new management point appears on the site system named CMDEV-TEST02.TSQA.CONTOSO.COM.
  • The site has code CM2.
  • The management point queries a site database for information.
  • The command enables SSL for the management point.

Example 2: Change management point settings for site system and site code, connection type, and database name

PS XYZ:\> Set-CMManagementPoint -SiteSystemServerName "CMDEV-TEST02.TSQA.CORP.CONTOSO.COM " -SiteCode "CM2" -ClientConnectionType InternetAndIntranet -AllowDevice $True -EnableSSL $True -GenerateAlert $False -UseSiteDatabase $False -SQLServerFqdnName "CMDEV-TEST02.TSQA.CORP.CONTOSO.COM" -SQLServerInstanceName "MSSQLServer" -DatabaseName "ContosoSQL01"

This command changes settings for a management point in a Configuration Manager installation. The command specifies the following information about the management point:

  • The new management point appears on the site system named CMDEV-TEST02.TSQA.CONTOSO.COM. This name is also the fully qualified domain name for the SQL Server instance named MSSQLServer.
  • The site has code CM2.
  • The management point accepts connections from Internet and intranet clients and from portable devices.
  • The management point has the associated database name ContosoSQL01.
  • The command enables SSL for the management point.

Parameters

-AllowDevice

Indicates whether the management point supports device clients.

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

-ClientConnectionType

Specifies the type of the client connection. The acceptable values for this parameter are:

  • Internet
  • InternetAndIntranet
  • Intranet
Type:ClientConnectionTypes
Accepted values:Internet, Intranet, InternetAndIntranet
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-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

-DatabaseName

Specifies the name of the site database or site database replica that the management point uses to query for site database information.

Type:String
Position:Named
Default value:None
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

-EnableCloudGateway

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

-EnableSsl

Indicates whether to enable SSL.

Type:Boolean
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

-GenerateAlert

Indicates whether the management point generates health alerts.

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

-InputObject

Specifies the management point for which you change values by using a management point object. To obtain a management point object, use the Get-CMManagementPoint cmdlet.

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

-PassThru

Add this parameter to return an object that represents the item with which you're working. By default, this cmdlet may not generate any output.

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

-SiteCode

Specifies the site code of the Configuration Manager site that hosts the site system role.

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

-SiteSystemServerName

Specifies the name of the server that hosts the site system role.

Type:String
Aliases:Name, ServerName
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SqlServerFqdn

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

-SqlServerInstanceName

Specifies the name of the SQL Server instance that clients use to communicate with the site system.

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

-UseComputerAccount

Indicates that the management point uses its own computer account instead of a domain user account to access site database information.

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

-UserName

Specifies a domain user account that the management point uses to access site information.

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

-UseSiteDatabase

Indicates whether the management point queries a site database instead of a site database replica for information.

Type:Boolean
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

Outputs

IResultObject