通过使用本网站, 您同意 隐私政策.
接受
进入IT进入IT进入IT
  • 家
  • 信息技术专家
  • 技术
  • 微软
    • 天蓝色
    • 配置管理器/SCCM
    • 数字PM
    • 协调者
    • Hyper-V
    • 微软 Edge 预览体验
    • 微星指数
    • 办公室 365
    • 办公室内幕
    • 电力商业智能
    • Skype
    • SQL服务器
    • 团队
  • 视窗
    • Windows 管理中心
    • Windows客户端
    • Windows服务器
  • SCCM查询集合列表
阅读: 如何更改 Configuration Manager 站点名称: 两种简单的方法
字体调整器氨基酸
进入IT进入IT
字体调整器氨基酸
  • 家
  • 信息技术专家
  • 技术
  • 微软
  • 视窗
  • SCCM查询集合列表
搜索
  • 家
  • 信息技术专家
  • 技术
  • 微软
    • 天蓝色
    • 配置管理器/SCCM
    • 数字PM
    • 协调者
    • Hyper-V
    • 微软 Edge 预览体验
    • 微星指数
    • 办公室 365
    • 办公室内幕
    • 电力商业智能
    • Skype
    • SQL服务器
    • 团队
  • 视窗
    • Windows 管理中心
    • Windows客户端
    • Windows服务器
  • SCCM查询集合列表
配置管理器查询集合列表
configmgr

如何更改 Configuration Manager 站点名称: 两种简单的方法

出版: 二月 11, 2024
2 最小阅读量
分享

如何更改 Configuration Manager 站点名称: 两种简单的方法.

内容
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 然后单击 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. 导航至 Administration > 概述 > Site Configuration > Sites. Select the server, right click and click 特性. 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>

标记:微软SQL服务器Powershell系统中心系统中心配置管理器技术预览视窗
上一篇 配置管理器查询集合列表 配置管理器软件更新点错误 0X80073633 证书签名无效
下一篇 修复 SCCM 错误 0x87D01201(-2016407039) 在软件中心
发表评论 发表评论

发表回复 取消回复

您的电子邮件地址不会被公开. 必填字段已标记 *

该网站使用 Akismet 来减少垃圾邮件. 了解您的评论数据的处理方式.

翻译

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

热门帖子

Windows Server 的系统要求 2016
Windows服务器
配置管理器查询集合列表
配置管理器查询集合列表
configmgr
在经典团队网站的新式页面上启用结构化/托管导航
技术
SCCM 无法从 MP 获取预期版本的 DP 位置
configmgr

最近的帖子

在 Ubuntu 上安装和配置 Fail2ban 以实现 SSH 保护 24.04
Linux
在AlmaLinux上启用和配置FirewallD
Linux
AlmaLinux中的用户创建和SSH密钥设置
Linux
如何在AlmaLinux上重置密码
Linux

© 2023 进入IT

转到移动版本
欢迎回来!

登录您的帐户

用户名或电子邮件地址
密码

丢失密码?