By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: How to Change Configuration Manager Site Name: Two Easy Methods
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Configuration Manager Query Collection List
ConfigMgr

How to Change Configuration Manager Site Name: Two Easy Methods

Published: February 11, 2024
2 Min Read
SHARE

How to Change Configuration Manager Site Name: Two Easy Methods.

Contents
Method 1: Using SQL Management StudioMethod 2: Using PowerShell and WMI

Method 1: Using SQL Management Studio

  1. Launch SQL Server Management Studio. Click Connect and that should show the SQL server. Expand Databases and then expand the site database.
  2. Expand Tables and look for a table named dbo.SC_SiteDefinition. Right-click dbo.SC_SiteDefinition and click Edit Top 200 Rows.
  3. On the right pane, look for a column called SiteName. The name displayed under SiteName is your current site name.
  4. There is no restart required after making the above changes. Close the SCCM console and reopen the console. Navigate to Administration > Overview > Site Configuration > Sites. Select the server, right click and click Properties. Check the new name.

Method 2: Using PowerShell and WMI

  1. Create an object of the SiteDefinition that we want to change.
  2. Change the property SiteName to our new name.
  3. Save the changes.
[CmdletBinding()]
param (
[string]$SiteCode,
[string]$SiteServer,
[string]$SiteName
)
function Change-SiteName {
$Site = Get-WmiObject -Class SMS_SCI_SiteDefinition -Namespace root/SMS/site_$($SiteCode) -ComputerName $SiteServer | Where-Object -FilterScript {$_.SiteCode -eq $SiteCode}
$Site.SiteName = $SiteName
$Site.Put()
}
Change-SiteName
PowerShell.exe -ExecutionPolicy ByPass .\ChangeSiteName_v1_0.ps1 -SiteCode <SiteCode> -SiteServer <SiteServer> -SiteName <SiteName>

TAGGED:Microsoft SQL ServerPowerShellSystem CenterSystem Center Configuration ManagerTechnical PreviewWindows
Previous Article Configuration Manager Query Collection List Configuration Manager Software Update Point Error 0X80073633 Invalid Certificate Signature
Next Article Fix SCCM Error 0x87D01201(-2016407039) in Software Center
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?