Set-CMManagementPoint
Set-CMManagementPoint
Changes settings for a management point in Configuration Manager.
Syntax
Parameter Set: SetByName
Set-CMManagementPoint -SiteCode <String> -SiteSystemServerName <String> [-AllowDevice <Boolean> ] [-ClientConnectionType <ClientConnectionTypes> {Internet | InternetAndIntranet | Intranet} ] [-DatabaseName <String> ] [-EnableSsl <Boolean> ] [-GenerateAlert <Boolean> ] [-SqlServerFqdnName <String> ] [-SqlServerInstanceName <String> ] [-UseComputerAccount] [-UserName <String> ] [-UseSiteDatabase <Boolean> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetByValue
Set-CMManagementPoint -InputObject <IResultObject> [-AllowDevice <Boolean> ] [-ClientConnectionType <ClientConnectionTypes> {Internet | InternetAndIntranet | Intranet} ] [-DatabaseName <String> ] [-EnableSsl <Boolean> ] [-GenerateAlert <Boolean> ] [-SqlServerFqdnName <String> ] [-SqlServerInstanceName <String> ] [-UseComputerAccount] [-UserName <String> ] [-UseSiteDatabase <Boolean> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Set-CMManagementPoint cmdlet changes settings for a management point in Microsoft System Center 2012 SP1 Configuration Manager. A management point is a System Center 2012 Configuration Manager site that provides policy and service information to clients and receives configuration data from clients.
Parameters
-AllowDevice<Boolean>
Indicates whether the management point supports device clients.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-ClientConnectionType<ClientConnectionTypes>
Specifies the type of the client connection. The acceptable values for this parameter are:
-- Internet
-- InternetAndIntranet
-- Intranet
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-DatabaseName<String>
Specifies the name of the site database or site database replica that the management point uses to query for site database information.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-EnableSsl<Boolean>
Indicates whether to enable SSL.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-GenerateAlert<Boolean>
Indicates whether the management point generates health alerts.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-InputObject<IResultObject>
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.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SiteCode<String>
Specifies the site code of the System Center 2012 Configuration Manager site that hosts the site system role.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SiteSystemServerName<String>
Specifies the name of the server that hosts the site system role.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SqlServerFqdnName<String>
Specifies the server name of the site database or site database replica that the management point uses to query for site database information. You must specify this parameter if Internet-based client systems communicate with the site system.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SqlServerInstanceName<String>
Specifies the name of the SQL Server instance that clients use to communicate with the site system.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-UserName<String>
Specifies a domain user account that the management point uses to access site information.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-UseSiteDatabase<Boolean>
Indicates whether the management point queries a site database instead of a site database replica for information.
Aliases |
none |
Required? |
false |
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: Change management point settings for site system and site code
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.
PS C:\> Set-CMManagementPoint -SiteSystemServerName "CMDEV-TEST02.TSQA.CORP.CONTOSO.COM" -SiteCode "CM2" -EnableSSL $False -UseSiteDatabase $True
Example 2: Change management point settings for site system and site code, connection type, and database name
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.
PS C:\> 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"