{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/ja-jp/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/08/03","updated_at_date_time":"2026-08-03T08:21:36.7565264Z"},"_path":"module/configurationmanager/new-cmpackage.json","_rel":"../../","_tocRel":"../sccm-ps/toc.json","apiPlatform":"powershell","author":"Banreet","breadcrumb_path":"/powershell/sccm/bread/toc.json","canonical_url":"https://learn.microsoft.com/ja-jp/powershell/module/configurationmanager/new-cmpackage?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/New-CMPackage.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","description":"Configuration Manager パッケージを作成します。","document_id":"25f64e1a-639a-213c-fbb0-ea493a3561c0","document_version_independent_id":"869416e0-7787-7907-5df7-e5df8c3c9eca","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":"48cf632fb4b9ad92060012681a500478254de750","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/48cf632fb4b9ad92060012681a500478254de750/sccm-ps/ConfigurationManager/New-CMPackage.md","github_contributors":["aczechowski","damabe","sankethka"],"locale":"ja-jp","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"05/07/2019","ms.service":"microsoft-endpoint-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-CMPackage.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/New-CMPackage.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-CMPackage","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-08-03 08:21 AM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmpackage","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMPackage","schemaType":"PowershellCmdlet","summary":"<p>Configuration Manager パッケージを作成します。</p>\n","uid":"ConfigurationManager.New-CMPackage"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.New-CMPackage":{"href":"new-cmpackage","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMPackage","schemaType":"PowershellCmdlet","summary":"<p>Configuration Manager パッケージを作成します。</p>\n","uid":"ConfigurationManager.New-CMPackage"}},"description":"<p>\n              <strong>New-CMPackage</strong> コマンドレットは、Configuration Manager パッケージを作成します。\nパッケージは、プログラム、ソフトウェア更新プログラム、ブート イメージ、オペレーティング システム イメージ、およびドライバーを Configuration Manager クライアントに配布するためのコンテンツ ファイルと手順を含む Configuration Manager オブジェクトです。</p>\n<div class=\"NOTE\">\n<p>注:</p>\n<p>\n              <code>PS XYZ:\\&gt;</code>など、Configuration Manager サイト ドライブから Configuration Manager コマンドレットを実行します。 詳細については、「作業の <a href=\"/powershell/sccm/overview\">開始</a>」を参照してください。</p>\n</div>\n","examples":[{"code":"PS XYZ:\\> New-CMPackage -Name \"ScriptsPackage01\"","description":"<p>このコマンドは、ScriptsPackage01 という名前の Configuration Manager パッケージを作成します。</p>\n","summary":"","title":"例 1: パッケージを作成する"},{"code":"PS XYZ:\\> New-CMPackage -Name \"ScriptsPackage02\" -Description \"This package deploys scripts that run on a recurring schedule.\"","description":"<p>このコマンドは、ScriptsPackage02 という名前の Configuration Manager パッケージを作成し、指定した説明をパッケージに追加します。</p>\n","summary":"","title":"例 2: パッケージを作成し、説明を追加する"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">None</span>\n"}],"links":[{"href":"export-cmpackage","text":"Export-CMPackage"},{"href":"get-cmpackage","text":"Get-CMPackage"},{"href":"import-cmpackage","text":"Import-CMPackage"},{"href":"remove-cmpackage","text":"Remove-CMPackage"},{"href":"set-cmpackage","text":"Set-CMPackage"}],"module":"ConfigurationManager","name":"New-CMPackage","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">IResultObject</span>\n"}],"parameters":[{"aliases":"cf","defaultValue":"False","description":"<p>コマンドレットを実行する前に確認メッセージを表示します。</p>\n","name":"Confirm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>パッケージの説明を指定します。\n最大 128 文字を使用できます。</p>\n","name":"Description","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>このパラメーターは、ワイルドカード文字をリテラル文字の値として扱います。 \n              <strong>ForceWildcardHandling</strong> と組み合わせることはできません。</p>\n","name":"DisableWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>このパラメーターはワイルドカード文字を処理し、予期しない動作が発生する可能性があります (推奨されません)。 \n              <strong>DisableWildcardHandling</strong> と組み合わせることはできません。</p>\n","name":"ForceWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>Configuration Manager がパッケージ定義ファイルからパッケージを作成することを示します。</p>\n","isRequired":true,"name":"FromDefinition","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>パッケージの言語バージョンを指定します。\n言語バージョンを識別するために使用する形式では、最大 32 文字を使用できます。\nConfiguration Manager では、 <em>Language</em> パラメーターを <em>製造元</em>、 <em>名前</em>、 <em>バージョン</em> と共に使用してパッケージを識別します。\nたとえば、英語版とドイツ語版の同じパッケージを使用できます。</p>\n","name":"Language","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>パッケージの識別に役立つ製造元名を指定します。\n最大 32 文字を使用できます。</p>\n","name":"Manufacturer","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","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>パッケージ定義ファイルの名前を指定します。</p>\n","isRequired":true,"name":"PackageDefinitionName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>パッケージがクライアント デバイスにソース ファイルを存在させる必要がないことを示します。</p>\n","isRequired":true,"name":"PackageNoSourceFile","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>配布ポイント上のパッケージ ソース ファイルに対して Configuration Manager によって作成される共有名またはパスを指定します。</p>\n","isRequired":true,"name":"PackagePath","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"PackageSourcePath","defaultValue":"None","description":"<p>パッケージに追加するファイルの場所を指定します。</p>\n<p>完全なローカル パスまたは UNC パスを指定できます。\nこの場所には、スクリプトを含め、プログラムが完了する必要があるすべてのファイルとサブディレクトリが含まれていることを確認します。</p>\n","name":"Path","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>ソース ファイルの種類を指定します。\nこのパラメーターの有効な値は次のとおりです。</p>\n<ul>\n<li>AlwaysObtainSourceFile</li>\n<li>CreateCompressedVersionOfSourceFile</li>\n</ul>\n","isRequired":true,"name":"SourceFileType","parameterValueGroup":"AlwaysObtainSourceFile, CreateCompressedVersionOfSourceFile","position":"Named","type":"<span class=\"no-loc xref\">SourceFileType</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>パッケージのソース ファイルの場所を指定します。</p>\n","isRequired":true,"name":"SourceFolderPath","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>ソース フォルダーのパスの種類を指定します。\nこのパラメーターの有効な値は次のとおりです。</p>\n<ul>\n<li>LocalFolderOnSiteServer</li>\n<li>UncNetworkPath</li>\n</ul>\n","isRequired":true,"name":"SourceFolderPathType","parameterValueGroup":"UncNetworkPath, LocalFolderOnSiteServer","position":"Named","type":"<span class=\"no-loc xref\">SourceFolderPathType</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>パッケージのバージョン番号を指定します。</p>\n","name":"Version","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"wi","defaultValue":"False","description":"<p>コマンドレットが実行されるとどうなるかを示します。 コマンドレットは実行されません。</p>\n","name":"WhatIf","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>Configuration Manager パッケージを作成します。</p>\n","syntaxes":["New-CMPackage [-Description <String>] [-Language <String>] [-Manufacturer <String>] -Name <String>\n [-Path <String>] [-Version <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]","New-CMPackage [-FromDefinition] -PackageDefinitionName <String> [-PackageNoSourceFile]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","New-CMPackage [-FromDefinition] [-PackageNoSourceFile] -PackagePath <String> [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","New-CMPackage [-FromDefinition] -PackageDefinitionName <String> -SourceFileType <SourceFileType>\n -SourceFolderPath <String> -SourceFolderPathType <SourceFolderPathType> [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","New-CMPackage [-FromDefinition] -PackagePath <String> -SourceFileType <SourceFileType>\n -SourceFolderPath <String> -SourceFolderPathType <SourceFolderPathType> [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]"],"uid":"ConfigurationManager.New-CMPackage","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"ja-jp","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-CMPackage.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmpackage","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMPackage","schemaType":"PowershellCmdlet","summary":"<p>Configuration Manager パッケージを作成します。</p>\n","uid":"ConfigurationManager.New-CMPackage"}],"canonical_url":"https://learn.microsoft.com/ja-jp/powershell/module/configurationmanager/new-cmpackage?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/ja-jp/powershell/module/configurationmanager/new-cmpackage?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>\n              <strong>New-CMPackage</strong> コマンドレットは、Configuration Manager パッケージを作成します。\nパッケージは、プログラム、ソフトウェア更新プログラム、ブート イメージ、オペレーティング システム イメージ、およびドライバーを Configuration Manager クライアントに配布するためのコンテンツ ファイルと手順を含む Configuration Manager オブジェクトです。</p>\n<div class=&quot;NOTE&quot;>\n<p>注:</p>\n<p>\n              <code>PS XYZ:\\&amp;gt;</code>など、Configuration Manager サイト ドライブから Configuration Manager コマンドレットを実行します。 詳細については、「作業の <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-CMPackage.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=\"ja-jp\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"New-CMPackage\" />\r\n<meta name=\"notes\" content=\"\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>Configuration Manager パッケージを作成します。</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"New-CMPackage [-Description <String>] [-Language <String>] [-Manufacturer <String>] -Name <String>\n [-Path <String>] [-Version <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMPackage [-FromDefinition] -PackageDefinitionName <String> [-PackageNoSourceFile]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMPackage [-FromDefinition] [-PackageNoSourceFile] -PackagePath <String> [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMPackage [-FromDefinition] -PackageDefinitionName <String> -SourceFileType <SourceFileType>\n -SourceFolderPath <String> -SourceFolderPathType <SourceFolderPathType> [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMPackage [-FromDefinition] -PackagePath <String> -SourceFileType <SourceFileType>\n -SourceFolderPath <String> -SourceFolderPathType <SourceFolderPathType> [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.New-CMPackage\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}