{"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:25:16.7994544Z"},"_path":"module/configurationmanager/new-cmprebootrecoveryinfo.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-cmprebootrecoveryinfo?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/New-CMPrebootRecoveryInfo.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","document_id":"9740b924-2ac9-a8aa-129e-cc1521dbec6f","document_version_independent_id":"2326b75a-5297-12a0-32cb-307e7e1ca32a","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-CMPrebootRecoveryInfo.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-CMPrebootRecoveryInfo.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/New-CMPrebootRecoveryInfo.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:25 PM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmprebootrecoveryinfo","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMPrebootRecoveryInfo","schemaType":"PowershellCmdlet","summary":"<p>設定操作系統磁碟驅動器鎖定時，開機前密鑰修復畫面所顯示的修復訊息。</p>\n","uid":"ConfigurationManager.New-CMPrebootRecoveryInfo"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.New-CMPrebootRecoveryInfo":{"href":"new-cmprebootrecoveryinfo","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMPrebootRecoveryInfo","schemaType":"PowershellCmdlet","summary":"<p>設定操作系統磁碟驅動器鎖定時，開機前密鑰修復畫面所顯示的修復訊息。</p>\n","uid":"ConfigurationManager.New-CMPrebootRecoveryInfo"}},"description":"<p>使用此 Cmdlet 來設定整個復原訊息，或取代 OS 磁碟驅動器鎖定時，開機前密鑰修復畫面顯示的現有 URL。</p>\n<p>如果您同時使用 <strong>-UseRecoveryUrl</strong> 和 <strong>-UseRecoveryMessage</strong> 參數，開機前密鑰復原畫面會顯示預設的 BitLocker 修復訊息和 URL。 如果您先前已設定自定義修復訊息或URL，而且想要還原為預設訊息，請保持啟用原則並同時使用 <strong>-UseRecoveryUrl</strong> 和 <strong>-UseRecoveryMessage</strong> 參數</p>\n<div class=\"NOTE\">\n<p>注意事項</p>\n<p>開機前不支援所有字元和語言。 測試您要用於自訂訊息或 URL 的字元。 請確定開機前復原畫面正確顯示您的自訂訊息或URL。</p>\n</div>\n","examples":[{"code":"New-CMPrebootRecoveryInfo -PolicyState Enabled -UseRecoveryMessage -RecoveryMessage \"Contact the Contoso Helpdesk at 515-555-8127 or https://contoso.com/bitlockerrecovery\"","description":"","summary":"<p>此範例會建立使用自定義值啟用的新原則。</p>\n","title":"範例 1：具有自定義復原訊息和 URL 的新啟用原則"},{"code":"New-CMPrebootRecoveryInfo -PolicyState Enabled -UseRecoveryUrl -RecoveryUrl https://contoso.com/bitlockerrecovery","description":"","summary":"","title":"範例 2：具有自定義復原 URL 的新啟用原則"}],"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#pre-boot-recovery-message-and-url","text":"BitLocker 設定參考"}],"module":"ConfigurationManager","name":"New-CMPrebootRecoveryInfo","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>使用此參數來設定原則。</p>\n<ul>\n<li><p>\n              <code>Enabled</code>：如果您啟用此原則，BitLocker 會使用您指定的自定義資訊。</p>\n</li>\n<li><p>\n              <code>Disabled</code> 或 <code>NotConfigured</code>：如果您停用或未設定此原則，BitLocker 會使用預設資訊。</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>指定要在開機前復原畫面上顯示的自定義訊息。 如果您也想要指定復原 URL，請將它納入此自定義復原訊息中。 字串長度上限為 32,768 個字元。 使用此參數搭配 <strong>-UseRecoveryMessage</strong> 參數。</p>\n","name":"RecoveryMessage","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>取代開機前 BitLocker 復原畫面中顯示的預設 URL。 URI 長度上限為 32,768 個字元。 使用此參數搭配 <strong>-UseRecoveryUrl</strong> 參數。</p>\n","name":"RecoveryUrl","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Uri</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>如果您新增此參數，開機前密鑰復原畫面會顯示 <strong>-RecoveryMessage</strong> 的值。</p>\n","name":"UseRecoveryMessage","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>如果您新增此參數，您為 <strong>-RecoveryUrl</strong> 指定的 URL 會取代預設復原訊息中的預設 URL。</p>\n","name":"UseRecoveryUrl","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>設定操作系統磁碟驅動器鎖定時，開機前密鑰修復畫面所顯示的修復訊息。</p>\n","syntaxes":["New-CMPrebootRecoveryInfo [-PolicyState <State>] [-RecoveryMessage <String>] [-RecoveryUrl <Uri>]\n [-UseRecoveryMessage] [-UseRecoveryUrl] [-DisableWildcardHandling] [-ForceWildcardHandling]\n [<CommonParameters>]"],"uid":"ConfigurationManager.New-CMPrebootRecoveryInfo","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-CMPrebootRecoveryInfo.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmprebootrecoveryinfo","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMPrebootRecoveryInfo","schemaType":"PowershellCmdlet","summary":"<p>設定操作系統磁碟驅動器鎖定時，開機前密鑰修復畫面所顯示的修復訊息。</p>\n","uid":"ConfigurationManager.New-CMPrebootRecoveryInfo"}],"canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmprebootrecoveryinfo?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/new-cmprebootrecoveryinfo?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>使用此 Cmdlet 來設定整個復原訊息，或取代 OS 磁碟驅動器鎖定時，開機前密鑰修復畫面顯示的現有 URL。</p>\n<p>如果您同時使用 <strong>-UseRecoveryUrl</strong> 和 <strong>-UseRecoveryMessage</strong> 參數，開機前密鑰復原畫面會顯示預設的 BitLocker 修復訊息和 URL。 如果您先前已設定自定義修復訊息或URL，而且想要還原為預設訊息，請保持啟用原則並同時使用 <strong>-UseRecoveryUrl</strong> 和 <strong>-UseRecoveryMessage</strong> 參數</p>\n<div class=&quot;NOTE&quot;>\n<p>注意事項</p>\n<p>開機前不支援所有字元和語言。 測試您要用於自訂訊息或 URL 的字元。 請確定開機前復原畫面正確顯示您的自訂訊息或URL。</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-CMPrebootRecoveryInfo.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-CMPrebootRecoveryInfo\" />\r\n<meta name=\"notes\" content=\"\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>設定操作系統磁碟驅動器鎖定時，開機前密鑰修復畫面所顯示的修復訊息。</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"New-CMPrebootRecoveryInfo [-PolicyState <State>] [-RecoveryMessage <String>] [-RecoveryUrl <Uri>]\n [-UseRecoveryMessage] [-UseRecoveryUrl] [-DisableWildcardHandling] [-ForceWildcardHandling]\n [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.New-CMPrebootRecoveryInfo\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}