{"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"}],"update_at":"2026/10/7","updated_at_date_time":"2026-10-07T23:24:53.5720519Z"},"_path":"module/configurationmanager/new-cmospassphrase.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-cmospassphrase?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/New-CMOSPassphrase.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","document_id":"b1bb7907-ef06-544b-51f9-d1afda439703","document_version_independent_id":"5b287de8-cd82-2cbd-ab84-275ed7a6b3a6","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":"c74b3f4574af7a8a480adb998b311f6eeeb3e856","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/c74b3f4574af7a8a480adb998b311f6eeeb3e856/sccm-ps/ConfigurationManager/New-CMOSPassphrase.md","github_contributors":["aczechowski"],"locale":"zh-tw","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"08/13/2020","ms.service":"configuration-manager","ms.subservice":"other","ms.topic":"reference","online version":"","open_to_public_contributors":true,"original_content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/live/sccm-ps/ConfigurationManager/New-CMOSPassphrase.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/New-CMOSPassphrase.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-10-07 11:24 PM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmospassphrase","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMOSPassphrase","schemaType":"PowershellCmdlet","summary":"<p>建立原則，以指定用來解除鎖定受 BitLocker 保護之 OS 磁碟驅動器之密碼的條件約束。</p>\n","uid":"ConfigurationManager.New-CMOSPassphrase"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.New-CMOSPassphrase":{"href":"new-cmospassphrase","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMOSPassphrase","schemaType":"PowershellCmdlet","summary":"<p>建立原則，以指定用來解除鎖定受 BitLocker 保護之 OS 磁碟驅動器之密碼的條件約束。</p>\n","uid":"ConfigurationManager.New-CMOSPassphrase"}},"description":"<p>建立原則，以指定用來解除鎖定受 BitLocker 保護之 OS 磁碟驅動器之密碼的條件約束。 如果您在 OS 磁碟驅動器上允許非 TPM 保護裝置，您可以布建密碼、強制執行複雜性需求，以及設定最小長度。 為了讓這些複雜性需求設定生效，也請啟用組策略設定 密碼必須符合<strong>計算機</strong>&gt;設定<strong>Windows 設定安全性</strong>&gt;<strong>設定</strong>&gt;<strong>帳戶</strong>&gt;原則<strong>密碼原則</strong>中的<strong>複雜性需求</strong>。</p>\n<div class=\"NOTE\">\n<p>注意事項</p>\n<p>當您啟用 BitLocker 時，Windows 會強制執行這些設定，而不是在解除鎖定磁碟區時強制執行。 BitLocker 可讓使用者使用任何可用的保護裝置來解除鎖定磁碟驅動器。</p>\n<p>如果您也啟用 Windows 使用符合 FIPS 規範的演算法進行加密、哈希和簽署，則無法使用密碼。</p>\n</div>\n","examples":[{"code":"New-CMOSPassphrase -PolicyState Enabled -PasswordComplexity Require -MinimumLength 10","description":"","summary":"<p>此範例會建立已啟用的新原則，需要長度至少為10個字元的複雜密碼。</p>\n","title":"範例 1：設定複雜性和最小長度的新啟用原則"},{"code":"New-CMOSPassphrase -PolicyState Enabled -PasswordComplexity Allow -MinimumLength 12 -RequireAsciiOnlyPassword","description":"","summary":"<p>此範例會建立使用下列屬性啟用的原則：</p>\n<ul>\n<li>允許但不需要複雜密碼</li>\n<li>長度至少 12 個字元</li>\n<li>要求密碼只包含 ASCII 字元。</li>\n</ul>\n","title":"範例 2：需要 ASCII 的新原則"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">None</span>\n"}],"links":[{"href":"new-cmblmsetting","text":"New-CMBlmSetting"},{"href":"/mem/configmgr/protect/tech-ref/bitlocker/settings#operating-system-drive-password-policy","text":"BitLocker 設定參考"}],"module":"ConfigurationManager","name":"New-CMOSPassphrase","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.AdminConsole.BitlockerManagement.PolicyObject</span>\n"}],"parameters":[{"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":"","defaultValue":"None","description":"<p>密碼至少必須是 <code>8</code> 字元。 若要設定密碼的最小長度，請使用此參數。</p>\n","name":"MinimumLength","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">UInt64</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>使用此參數來設定 OS 磁碟驅動器的密碼複雜度。 若要強制執行密碼的複雜性需求，請將 值設定為 <code>Require</code>。</p>\n<ul>\n<li><p>\n              <code>Require</code>：當您啟用 BitLocker 時，必須連線到域控制器，才能驗證密碼的複雜性。</p>\n</li>\n<li><p>\n              <code>Allow</code>：裝置會嘗試連線到域控制器以驗證複雜性。 如果無法與域控制器通訊，它仍會接受密碼，無論實際的複雜性為何。 BitLocker 會使用該密碼作為保護裝置來加密磁碟驅動器。</p>\n</li>\n<li><p>\n              <code>Prohibit</code>：用戶端不會連線到域控制器來驗證密碼複雜度。</p>\n</li>\n</ul>\n","name":"PasswordComplexity","parameterValueGroup":"Allow, Require, Prohibit","position":"Named","type":"<span class=\"no-loc xref\">Dispensation</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>使用此參數來設定原則。</p>\n<ul>\n<li><p>\n              <code>Enabled</code>：如果您啟用此原則，用戶可以設定符合您定義需求的密碼。 若要強制執行密碼的複雜性需求，請使用 <code>-PasswordComplexity Require</code>。</p>\n</li>\n<li><p>\n              <code>Disabled</code> 或 <code>NotConfigured</code>：如果您停用或未設定此原則，則OS磁碟驅動器密碼會套用8個字元的預設長度限制，且不會檢查密碼複雜度。</p>\n</li>\n</ul>\n","name":"PolicyState","parameterValueGroup":"Enabled, Disabled, NotConfigured","position":"Named","type":"<span class=\"no-loc xref\">State</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>新增此參數以要求操作系統磁碟驅動器的僅限 ASCII 密碼。</p>\n","name":"RequireAsciiOnlyPassword","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>建立原則，以指定用來解除鎖定受 BitLocker 保護之 OS 磁碟驅動器之密碼的條件約束。</p>\n","syntaxes":["New-CMOSPassphrase [-PolicyState <State>] [-PasswordComplexity <Dispensation>] [-MinimumLength <UInt64>]\n [-RequireAsciiOnlyPassword] [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]"],"uid":"ConfigurationManager.New-CMOSPassphrase","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-CMOSPassphrase.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmospassphrase","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMOSPassphrase","schemaType":"PowershellCmdlet","summary":"<p>建立原則，以指定用來解除鎖定受 BitLocker 保護之 OS 磁碟驅動器之密碼的條件約束。</p>\n","uid":"ConfigurationManager.New-CMOSPassphrase"}],"canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmospassphrase?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmospassphrase?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>建立原則，以指定用來解除鎖定受 BitLocker 保護之 OS 磁碟驅動器之密碼的條件約束。 如果您在 OS 磁碟驅動器上允許非 TPM 保護裝置，您可以布建密碼、強制執行複雜性需求，以及設定最小長度。 為了讓這些複雜性需求設定生效，也請啟用組策略設定 密碼必須符合<strong>計算機</strong>&amp;gt;設定<strong>Windows 設定安全性</strong>&amp;gt;<strong>設定</strong>&amp;gt;<strong>帳戶</strong>&amp;gt;原則<strong>密碼原則</strong>中的<strong>複雜性需求</strong>。</p>\n<div class=&quot;NOTE&quot;>\n<p>注意事項</p>\n<p>當您啟用 BitLocker 時，Windows 會強制執行這些設定，而不是在解除鎖定磁碟區時強制執行。 BitLocker 可讓使用者使用任何可用的保護裝置來解除鎖定磁碟驅動器。</p>\n<p>如果您也啟用 Windows 使用符合 FIPS 規範的演算法進行加密、哈希和簽署，則無法使用密碼。</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-CMOSPassphrase.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-CMOSPassphrase\" />\r\n<meta name=\"notes\" content=\"\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>建立原則，以指定用來解除鎖定受 BitLocker 保護之 OS 磁碟驅動器之密碼的條件約束。</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"New-CMOSPassphrase [-PolicyState <State>] [-PasswordComplexity <Dispensation>] [-MinimumLength <UInt64>]\n [-RequireAsciiOnlyPassword] [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.New-CMOSPassphrase\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}