{"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/10/7","updated_at_date_time":"2026-10-07T22:45:57.5760819Z"},"_path":"module/configurationmanager/export-cmapplication.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/export-cmapplication?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Export-CMApplication.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","description":"匯出應用程式。","document_id":"b6a3ba8e-b3b7-7537-c92f-fa85696471f6","document_version_independent_id":"4a312b85-944d-19d3-e365-6e7036f565d4","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":"bb9175234ac9216647dfad4ac4ffee7636ac6e89","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/bb9175234ac9216647dfad4ac4ffee7636ac6e89/sccm-ps/ConfigurationManager/Export-CMApplication.md","github_contributors":["aczechowski","damabe","sankethka"],"locale":"zh-tw","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"05/01/2019","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/Export-CMApplication.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Export-CMApplication.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","title":"Export-CMApplication","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-10-07 10:45 PM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/export-cmapplication","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Export-CMApplication","schemaType":"PowershellCmdlet","summary":"<p>匯出應用程式。</p>\n","uid":"ConfigurationManager.Export-CMApplication"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Export-CMApplication":{"href":"export-cmapplication","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Export-CMApplication","schemaType":"PowershellCmdlet","summary":"<p>匯出應用程式。</p>\n","uid":"ConfigurationManager.Export-CMApplication"}},"description":"<p>\n              <strong>Export-CMApplication Cmdlet</strong> 會將應用程式導出至檔案。\n指定要匯出應用程式之位置的檔案路徑。</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":"PS XYZ:\\> Get-CMApplication \"Application01\" | Export-CMApplication -Path \"C:\\test.zip\" -IgnoreRelated -OmitContent -Comment \"Application export\" -Force","description":"<p>此命令會取得名為Applicaton01的應用程式物件，並使用管線運算符將對象傳遞至 <strong>Export-CMApplicaton</strong>。\n\n              <strong>Export-CMApplication 會</strong> 將應用程式匯出至路徑 C:\\test.zip，省略 zip 檔案中的相關內容，而不會匯出相關的物件。\n指定 <em>Force</em> 參數表示已匯出應用程式，而不會提示使用者。</p>\n","summary":"","title":"範例 1：取得並匯出應用程式"},{"code":"PS XYZ:\\>Export-CMApplication -Name \"Application01\" -Path \"C:\\test.zip\" -IgnoreRelated -OmitContent -Comment \"Application export\"","description":"<p>此命令會將名為Application01的應用程式匯出至路徑 C:\\test.zip、省略 zip檔案中的相關內容，而不會匯出相關的物件。\n指定 <em>Force</em> 參數表示已匯出應用程式，而不會提示使用者。</p>\n","summary":"","title":"範例 2：匯出應用程式"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.ManagementProvider.IResultObject</span>\n"}],"links":[{"href":"convertfrom-cmapplication","text":"ConvertFrom-CMApplication"},{"href":"convertto-cmapplication","text":"ConvertTo-CMApplication"},{"href":"get-cmapplication","text":"Get-CMApplication"},{"href":"import-cmapplication","text":"Import-CMApplication"},{"href":"new-cmapplication","text":"New-CMApplication"},{"href":"remove-cmapplication","text":"Remove-CMApplication"},{"href":"resume-cmapplication","text":"Resume-CMApplication"},{"href":"set-cmapplication","text":"Set-CMApplication"},{"href":"suspend-cmapplication","text":"Suspend-CMApplication"}],"module":"ConfigurationManager","name":"Export-CMApplication","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">System.Object</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>指定匯出應用程式的批注。</p>\n","name":"Comment","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\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>在沒有確認訊息的情況下執行動作。</p>\n","name":"Force","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":"CIId, CI_ID","defaultValue":"None","description":"<p>指定要匯出之應用程式的識別碼。</p>\n","isRequired":true,"name":"Id","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Int32</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>表示不會匯出相關物件，例如應用程式相依性、已取代的應用程式，或相關的類別和全域條件。</p>\n","name":"IgnoreRelated","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定應用程式物件。\n若要取得應用程式物件，請使用 <a href=\"get-cmapplication\">Get-CMApplication</a> Cmdlet。</p>\n","isRequired":true,"name":"InputObject","parameterValueGroup":"","pipelineInput":true,"position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"LocalizedDisplayName","defaultValue":"None","description":"<p>指定要匯出的應用程式名稱。</p>\n","isRequired":true,"name":"Name","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指出 Cmdlet 會將相關內容導出至與 .zip 檔案位於相同位置的個別資料夾。</p>\n","name":"OmitContent","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"FileName, FilePath, ExportFilePath","defaultValue":"None","description":"<p>指定封裝的路徑。\n封裝檔案具有 .zip 擴展名。</p>\n","isRequired":true,"name":"Path","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\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":["Export-CMApplication [-Comment <String>] [-Force] [-IgnoreRelated] -InputObject <IResultObject> [-OmitContent]\n -Path <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Export-CMApplication [-Comment <String>] [-Force] -Id <Int32> [-IgnoreRelated] [-OmitContent] -Path <String>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Export-CMApplication [-Comment <String>] [-Force] [-IgnoreRelated] -Name <String> [-OmitContent] -Path <String>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]"],"uid":"ConfigurationManager.Export-CMApplication","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/Export-CMApplication.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/export-cmapplication","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Export-CMApplication","schemaType":"PowershellCmdlet","summary":"<p>匯出應用程式。</p>\n","uid":"ConfigurationManager.Export-CMApplication"}],"canonical_url":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/export-cmapplication?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-tw/powershell/module/configurationmanager/export-cmapplication?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>\n              <strong>Export-CMApplication Cmdlet</strong> 會將應用程式導出至檔案。\n指定要匯出應用程式之位置的檔案路徑。</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/Export-CMApplication.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=\"Export-CMApplication\" />\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=\"Export-CMApplication [-Comment <String>] [-Force] [-IgnoreRelated] -InputObject <IResultObject> [-OmitContent]\n -Path <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Export-CMApplication [-Comment <String>] [-Force] -Id <Int32> [-IgnoreRelated] [-OmitContent] -Path <String>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Export-CMApplication [-Comment <String>] [-Force] [-IgnoreRelated] -Name <String> [-OmitContent] -Path <String>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Export-CMApplication\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}