{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/zh-tw/powershell/","_op_gitContributorInformation":{"author":{"display_name":"Banreet Kaur","id":"92906285","name":"Banreet","profile_url":"https://github.com/Banreet"},"contributors":[{"display_name":"Aaron Czechowski","id":"26784733","name":"aczechowski","profile_url":"https://github.com/aczechowski"},{"display_name":"Dan Mabee","id":"40476441","name":"damabe","profile_url":"https://github.com/damabe"},{"display_name":"sankethka","id":"16908144","name":"sankethka","profile_url":"https://github.com/sankethka"}],"update_at":"2026/6/25","updated_at_date_time":"2026-06-25T23:19:12.2606174Z"},"_path":"module/configurationmanager/new-cmadministrativeuser.json","_rel":"../../","_tocRel":"../sccm-ps/toc.json","apiPlatform":"powershell","author":"Banreet","breadcrumb_path":"/powershell/sccm/bread/toc.json","canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmadministrativeuser?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/New-CMAdministrativeUser.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","document_id":"1e574d7d-af6f-ff2d-1d12-f4d2082a1010","document_version_independent_id":"4e04246a-9462-a7a5-8a35-620857e6b066","external help file":"AdminUI.PS.dll-Help.xml","feedback_product_url":"https://feedbackportal.microsoft.com/feedback/forum/4669adfc-ee1b-ec11-b6e7-0022481f8472","feedback_system":"Standard","git_commit_id":"0eebe140da8d33091d6703e03cf0d5da3ec90ad8","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/0eebe140da8d33091d6703e03cf0d5da3ec90ad8/sccm-ps/ConfigurationManager/New-CMAdministrativeUser.md","github_contributors":["aczechowski","damabe","sankethka"],"locale":"zh-tw","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"12/21/2021","ms.service":"configuration-manager","ms.subservice":"other","ms.topic":"reference","open_to_public_contributors":true,"original_content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/live/sccm-ps/ConfigurationManager/New-CMAdministrativeUser.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/New-CMAdministrativeUser.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","title":"New-CMAdministrativeUser","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-06-25 11:19 PM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmadministrativeuser","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMAdministrativeUser","schemaType":"PowershellCmdlet","summary":"<p>建立系統管理使用者。</p>\n","uid":"ConfigurationManager.New-CMAdministrativeUser"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.New-CMAdministrativeUser":{"href":"new-cmadministrativeuser","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMAdministrativeUser","schemaType":"PowershellCmdlet","summary":"<p>建立系統管理使用者。</p>\n","uid":"ConfigurationManager.New-CMAdministrativeUser"}},"description":"<p>使用此 Cmdlet 建立 Configuration Manager 的系統管理使用者。 Configuration Manager 中的 <em>系統管理用戶</em> 會定義本機或網域使用者或群組。 當您在 Configuration Manager 中建立系統管理使用者時，您可以將安全性角色、安全性範圍和集合的存取權授與它。 如需安全性角色的詳細資訊，請參閱 Configuration <a href=\"/mem/configmgr/core/understand/fundamentals-of-role-based-administration\">Manager 中以角色為基礎的系統管理基本概念</a>。</p>\n<div class=\"NOTE\">\n<p>注意事項</p>\n<p>從 Configuration Manager 月臺磁碟驅動器執行 Configuration Manager Cmdlet，例如 <code>PS XYZ:\\&gt;</code>。 如需詳細資訊，請 <a href=\"/powershell/sccm/overview\">參閱開始使用</a>。</p>\n</div>\n","examples":[{"code":"$name = \"Contoso\\AdminUser1\"\n$roles = \"Application Administrator\",\"Software Update Manager\"\n$scopes = \"scope1\",\"scope2\"\n$colls = \"userCollection1\",\"deviceCollection1\"\n\nNew-CMAdministrativeUser -Name $name -RoleName $roles -SecurityScopeName $scopes -CollectionName $colls","description":"","summary":"<p>此命令會將名為 <strong>AdminUser1</strong> 的 Contoso 網域使用者新增為系統管理使用者。\n它會將此使用者新增至應用程式 <strong>管理員</strong> 和 <strong>軟體更新管理員</strong> 內建安全性角色。\n命令也會將使用者新增至 <strong>scope1</strong> 和 <strong>scope2</strong> 安全性範圍，以及 <strong>userCollection1</strong> 和 <strong>deviceCollection1</strong> 集合。</p>\n","title":"範例 1：新增系統管理使用者"},{"code":"New-CMAdministrativeUser -Name \"Contoso\\Security Analysts\" -RoleName \"Read-only Analyst\"","description":"","summary":"<p>本範例會將 Contoso 網域群組 <strong>安全性分析師</strong> 新增至內建 <strong>的唯讀分析師安全性</strong> 角色。</p>\n","title":"範例 2：新增網域群組"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">None</span>\n"}],"links":[{"href":"get-cmadministrativeuser","text":"Get-CMAdministrativeUser"},{"href":"remove-cmadministrativeuser","text":"Remove-CMAdministrativeUser"},{"href":"new-cmadministrativeuserpermission","text":"New-CMAdministrativeUserPermission"},{"href":"/mem/configmgr/core/servers/deploy/configure/configure-role-based-administration#automate-with-windows-power-shell","text":"使用 Windows PowerShell 自動化角色型管理"}],"module":"ConfigurationManager","name":"New-CMAdministrativeUser","notes":"<p>如需此傳回物件及其屬性的詳細資訊，請 <a href=\"/mem/configmgr/develop/reference/core/servers/configure/sms_admin-server-wmi-class\">參閱SMS_Admin伺服器 WMI 類別</a>。</p>\n","outputs":[{"description":"","name":"<span class=\"no-loc xref\">IResultObject</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>指定集合名稱的陣列。 Cmdlet 會將新的系統管理使用者指派給每個集合。</p>\n","name":"CollectionName","parameterValueGroup":"","position":"Named","type":"<p><span class=\"no-loc xref\">String</span><span>[</span><span>]</span></p>\n"},{"aliases":"cf","defaultValue":"False","description":"<p>執行 Cmdlet 之前提示您確認。</p>\n","name":"Confirm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>此參數會將通配符視為常值字元值。 您無法將其與 <strong>ForceWildcardHandling</strong> 結合。</p>\n","name":"DisableWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>此參數會處理通配符，並可能導致非預期的行為 (不建議) 。 您無法將其與 <strong>DisableWildcardHandling</strong> 結合。</p>\n","name":"ForceWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"LogonName","defaultValue":"None","description":"<p>指定要新增的系統管理用戶名稱。 使用 格式 <code>domain\\name</code>，其中 <code>name</code> 是使用者或群組。</p>\n","isRequired":true,"name":"Name","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"Permissions","defaultValue":"None","description":"<p>指定要指派給這個新使用者的許可權物件陣列。 若要取得這些物件，請使用 <a href=\"new-cmadministrativeuserpermission\">New-CMAdministrativeUserPermission</a> Cmdlet。</p>\n","isRequired":true,"name":"Permission","parameterValueGroup":"","position":"Named","type":"<p><span class=\"no-loc xref\">IResultObject</span><span>[</span><span>]</span></p>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定安全性角色名稱的陣列。 此名稱可以是內建或自定義角色。 若要查看內建安全性角色的清單，請參閱 <a href=\"/mem/configmgr/core/understand/fundamentals-of-role-based-administration#security-roles\">安全性角色</a>。</p>\n","isRequired":true,"name":"RoleName","parameterValueGroup":"","position":"Named","type":"<p><span class=\"no-loc xref\">String</span><span>[</span><span>]</span></p>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定安全性範圍名稱的陣列。\n安全性範圍名稱可以是「預設」或自定義安全性範圍的名稱。\nCmdlet 會將您指定的安全性範圍指派給系統管理使用者。</p>\n","name":"SecurityScopeName","parameterValueGroup":"","position":"Named","type":"<p><span class=\"no-loc xref\">String</span><span>[</span><span>]</span></p>\n"},{"aliases":"wi","defaultValue":"False","description":"<p>顯示執行 Cmdlet 時會發生什麼情況。 Cmdlet 不會執行。</p>\n","name":"WhatIf","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>建立系統管理使用者。</p>\n","syntaxes":["New-CMAdministrativeUser [-CollectionName <String[]>] -Name <String> -RoleName <String[]>\n [-SecurityScopeName <String[]>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]","New-CMAdministrativeUser -Name <String> -Permission <IResultObject[]> [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]"],"uid":"ConfigurationManager.New-CMAdministrativeUser","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"zh-tw","loc_version":"2024-08-21T21:18:36.7205003Z","loc_source_id":"Github-72476255#live","loc_file_id":"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/New-CMAdministrativeUser.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmadministrativeuser","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMAdministrativeUser","schemaType":"PowershellCmdlet","summary":"<p>建立系統管理使用者。</p>\n","uid":"ConfigurationManager.New-CMAdministrativeUser"}],"canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmadministrativeuser?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmadministrativeuser?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>使用此 Cmdlet 建立 Configuration Manager 的系統管理使用者。 Configuration Manager 中的 <em>系統管理用戶</em> 會定義本機或網域使用者或群組。 當您在 Configuration Manager 中建立系統管理使用者時，您可以將安全性角色、安全性範圍和集合的存取權授與它。 如需安全性角色的詳細資訊，請參閱 Configuration <a href=&quot;/mem/configmgr/core/understand/fundamentals-of-role-based-administration&quot;>Manager 中以角色為基礎的系統管理基本概念</a>。</p>\n<div class=&quot;NOTE&quot;>\n<p>注意事項</p>\n<p>從 Configuration Manager 月臺磁碟驅動器執行 Configuration Manager Cmdlet，例如 <code>PS XYZ:\\&amp;gt;</code>。 如需詳細資訊，請 <a href=&quot;/powershell/sccm/overview&quot;>參閱開始使用</a>。</p>\n</div>\n\" />\r\n<meta name=\"hideEdit\" content=\"true\" />\r\n<meta name=\"loc_file_id\" content=\"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/New-CMAdministrativeUser.md\" />\r\n<meta name=\"loc_source_id\" content=\"Github-72476255#live\" />\r\n<meta name=\"loc_version\" content=\"2024-08-21T21:18:36.7205003Z\" />\r\n<meta name=\"module\" content=\"ConfigurationManager\" />\r\n<meta name=\"ms.contentlocale\" content=\"zh-tw\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"New-CMAdministrativeUser\" />\r\n<meta name=\"notes\" content=\"<p>如需此傳回物件及其屬性的詳細資訊，請 <a href=&quot;/mem/configmgr/develop/reference/core/servers/configure/sms_admin-server-wmi-class&quot;>參閱SMS_Admin伺服器 WMI 類別</a>。</p>\n\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>建立系統管理使用者。</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"New-CMAdministrativeUser [-CollectionName <String[]>] -Name <String> -RoleName <String[]>\n [-SecurityScopeName <String[]>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMAdministrativeUser -Name <String> -Permission <IResultObject[]> [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.New-CMAdministrativeUser\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}