{"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":"Jonathan Gao","id":"2213767","name":"mumian","profile_url":"https://github.com/mumian"},{"display_name":"sankethka","id":"16908144","name":"sankethka","profile_url":"https://github.com/sankethka"}],"update_at":"2026/09/01","updated_at_date_time":"2026-09-01T12:06:59.1305546Z"},"_path":"module/configurationmanager/new-cmcollection.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-cmcollection?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/New-CMCollection.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","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":"4203a6563bd2461e666e2d652af52c458ba89ef4","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/4203a6563bd2461e666e2d652af52c458ba89ef4/sccm-ps/ConfigurationManager/New-CMCollection.md","github_contributors":["aczechowski","damabe","mumian","sankethka"],"locale":"ja-jp","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"12/29/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-CMCollection.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/New-CMCollection.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-CMCollection","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-09-01 12:06 PM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmcollection","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMCollection","schemaType":"PowershellCmdlet","summary":"<p>デバイスまたはユーザー コレクションを作成します。</p>\n","uid":"ConfigurationManager.New-CMCollection"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.New-CMCollection":{"href":"new-cmcollection","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMCollection","schemaType":"PowershellCmdlet","summary":"<p>デバイスまたはユーザー コレクションを作成します。</p>\n","uid":"ConfigurationManager.New-CMCollection"}},"description":"<p>デバイスまたはユーザー コレクションを作成するには、このコマンドレットを使用します。</p>\n<p>制限コレクションは、作成するコレクションのメンバーとなるリソースを決定します。\nたとえば、制限コレクションとして <strong>All Systems</strong> コレクションを使用する場合、デバイス コレクションであるため、新しいデバイス コレクションには Configuration Manager 階層内の任意のデバイスを含めることができます。</p>\n<p>作成するコレクションの種類のスコープを設定するには、 <a href=\"new-cmdevicecollection\">New-CMDeviceCollection</a> コマンドレットまたは <a href=\"new-cmusercollection\">New-CMUserCollection コマンドレットを</a> 使用することもできます。</p>\n<p>コレクションを作成したら、メンバーシップ ルールを使用してコレクションにリソースを追加します。\nコレクションにメンバーを追加するには、次のいずれかのコマンドレットを使用してメンバーシップ規則を追加します。例:</p>\n<ul>\n<li>\n              <a href=\"add-cmdevicecollectionquerymembershiprule\">Add-CMDeviceCollectionQueryMembershipRule</a></li>\n<li>\n              <a href=\"add-cmusercollectionquerymembershiprule\">Add-CMUserCollectionQueryMembershipRule</a></li>\n</ul>\n<p>詳細については、「 <a href=\"/mem/configmgr/core/clients/manage/collections/create-collections\">Configuration Manager でコレクションを作成する方法</a>」を参照してください。</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":"New-CMCollection -CollectionType User -LimitingCollectionName \"All Users\" -Name \"testUser\"","description":"","summary":"<p>このコマンドは、すべてのユーザー コレクションを制限コレクションとして設定する <strong>testUser</strong> という名前の <strong>ユーザー</strong> コレクションを作成します。</p>\n","title":"例 1: ユーザー コレクションを作成する"},{"code":"Get-CMCollection -Name \"All Users\" | New-CMCollection -Name \"testUser\" -CollectionType \"User\"","description":"","summary":"<p>このコマンドでは、まず <strong>Get-CMCollection</strong> を使用して <strong>、All Users</strong> コレクション オブジェクトを取得します。 その後、パイプライン演算子を使用してオブジェクトを <strong>New-CMCollection</strong> コマンドレットに渡します。これにより、 <strong>testUser</strong> という名前のコレクションが作成されます。 新しい <strong>testUser</strong> コレクションの制限コレクションは、 <strong>All Users</strong> コレクションです。</p>\n","title":"例 2: パイプラインを使用して制限コレクションを設定する"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.ManagementProvider.IResultObject</span>\n"}],"links":[{"href":"copy-cmcollection","text":"Copy-CMCollection"},{"href":"export-cmcollection","text":"Export-CMCollection"},{"href":"get-cmcollection","text":"Get-CMCollection"},{"href":"get-cmcollectionmember","text":"Get-CMCollectionMember"},{"href":"get-cmcollectionsetting","text":"Get-CMCollectionSetting"},{"href":"import-cmcollection","text":"Import-CMCollection"},{"href":"invoke-cmcollectionupdate","text":"Invoke-CMCollectionUpdate"},{"href":"remove-cmcollection","text":"Remove-CMCollection"},{"href":"set-cmcollection","text":"Set-CMCollection"},{"href":"new-cmdevicecollectionvariable","text":"New-CMDeviceCollectionVariable"},{"href":"new-cmdevicecollection","text":"New-CMDeviceCollection"},{"href":"new-cmusercollection","text":"New-CMUserCollection"},{"href":"/mem/configmgr/core/clients/manage/collections/create-collections","text":"Configuration Manager でコレクションを作成する方法"}],"module":"ConfigurationManager","name":"New-CMCollection","notes":"<p>この戻りオブジェクトとそのプロパティの詳細については、「 <a href=\"/mem/configmgr/develop/reference/core/clients/collections/sms_collection-server-wmi-class\">サーバー WMI クラスSMS_Collection</a>」を参照してください。</p>\n","outputs":[{"description":"","name":"<span class=\"no-loc xref\">IResultObject</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>作成するコレクションの種類を指定します。 このパラメーターは、 <a href=\"new-cmdevicecollection\">機能的には、New-CMDeviceCollection</a> コマンドレットまたは <a href=\"new-cmusercollection\">New-CMUserCollection</a> コマンドレットを使用する場合と同じです。</p>\n","isRequired":true,"name":"CollectionType","parameterValueGroup":"User, Device","position":"Named","type":"<span class=\"no-loc xref\">CollectionType</span>\n"},{"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>コマンドレットを実行する前に確認メッセージを表示します。</p>\n","name":"Confirm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</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":"LimitingCollection","defaultValue":"None","description":"<p>制限コレクションのオブジェクトを指定します。 このオブジェクトを取得するには、 <a href=\"get-cmcollection\">Get-CMCollection</a>、 <a href=\"get-cmdevicecollection\">Get-CMDeviceCollection</a>、または <a href=\"get-cmusercollection\">Get-CMUserCollection コマンドレットを</a> 使用します。</p>\n","isRequired":true,"name":"InputObject","parameterValueGroup":"","pipelineInput":true,"position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"LimitToCollectionId","defaultValue":"None","description":"<p>制限コレクションの ID を指定します。 この値は <strong>CollectionID</strong> プロパティです (たとえば、 <code>XYZ00012</code> や <code>SMS00001</code>)。</p>\n","isRequired":true,"name":"LimitingCollectionId","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"LimitToCollectionName","defaultValue":"None","description":"<p>制限コレクションの名前を指定します。</p>\n","isRequired":true,"name":"LimitingCollectionName","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>\n              <strong>RefreshType</strong> パラメーターを <code>Periodic</code> または <code>Both</code> に設定する場合は、このパラメーターを使用してスケジュールを設定します。 サイトがコレクション メンバーシップの完全更新を実行する場合の schedule オブジェクトを指定します。 このオブジェクトを取得するには、 <a href=\"new-cmschedule\">New-CMSchedule コマンドレットを</a> 使用します。</p>\n","name":"RefreshSchedule","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>コレクション メンバーシップの更新方法を指定します。</p>\n<ul>\n<li>\n              <code>Manual</code> (1): 管理者は、Configuration Manager コンソールまたは <a href=\"invoke-cmcollectionupdate\">Invoke-CMCollectionUpdate</a> コマンドレットを使用して、メンバーシップの更新を手動でトリガーします。</li>\n<li>\n              <code>Periodic</code> (2): サイトはスケジュールに従って完全な更新を行います。 増分更新は使用されません。 型を指定しない場合、この値が既定値です。</li>\n<li>\n              <code>Continuous</code> (4): サイトは定期的に新しいリソースを評価し、新しいメンバーを追加します。 この型は <em>、増分更新</em>とも呼ばれます。 スケジュールに従って完全な更新を行うわけではありません。</li>\n<li>\n              <code>Both</code> (6): <code>Periodic</code> と <code>Continuous</code>の両方の組み合わせで、増分更新と完全更新の両方がスケジュールに従って行われます。</li>\n</ul>\n<p>\n              <code>Periodic</code>または<code>Both</code>を指定する場合は、<strong>RefreshSchedule</strong> パラメーターを使用してスケジュールを設定します。</p>\n<div class=\"NOTE\">\n<p>注:</p>\n<p>\n              <code>None</code>値 (0) は、機能的には<code>Manual</code>と同じです。</p>\n</div>\n","name":"RefreshType","parameterValueGroup":"None, Manual, Periodic, Continuous, Both","position":"Named","type":"<span class=\"no-loc xref\">CollectionRefreshType</span>\n"},{"aliases":"DeviceCollectionVariablePrecedence","defaultValue":"None","description":"<p>デバイス コレクション変数の優先順位に 1 から 9 の整数値を指定します。 \n              <code>1</code> は最も優先順位が低く、 <code>9</code> が最も高くなります。</p>\n<p>デバイス コレクションに変数を作成するには、 <a href=\"new-cmdevicecollectionvariable\">New-CMDeviceCollectionVariable</a> コマンドレットを使用します。</p>\n","name":"VariablePriority","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Int32</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>デバイスまたはユーザー コレクションを作成します。</p>\n","syntaxes":["New-CMCollection -CollectionType <CollectionType> [-Comment <String>] -LimitingCollectionName <String>\n -Name <String> [-RefreshSchedule <IResultObject>] [-RefreshType <CollectionRefreshType>]\n [-VariablePriority <Int32>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]","New-CMCollection -CollectionType <CollectionType> [-Comment <String>] -InputObject <IResultObject>\n -Name <String> [-RefreshSchedule <IResultObject>] [-RefreshType <CollectionRefreshType>]\n [-VariablePriority <Int32>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]","New-CMCollection -CollectionType <CollectionType> [-Comment <String>] -LimitingCollectionId <String>\n -Name <String> [-RefreshSchedule <IResultObject>] [-RefreshType <CollectionRefreshType>]\n [-VariablePriority <Int32>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]"],"uid":"ConfigurationManager.New-CMCollection","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-CMCollection.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/new-cmcollection","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"New-CMCollection","schemaType":"PowershellCmdlet","summary":"<p>デバイスまたはユーザー コレクションを作成します。</p>\n","uid":"ConfigurationManager.New-CMCollection"}],"canonical_url":"https://learn.microsoft.com/ja-jp/powershell/module/configurationmanager/new-cmcollection?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/ja-jp/powershell/module/configurationmanager/new-cmcollection?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>デバイスまたはユーザー コレクションを作成するには、このコマンドレットを使用します。</p>\n<p>制限コレクションは、作成するコレクションのメンバーとなるリソースを決定します。\nたとえば、制限コレクションとして <strong>All Systems</strong> コレクションを使用する場合、デバイス コレクションであるため、新しいデバイス コレクションには Configuration Manager 階層内の任意のデバイスを含めることができます。</p>\n<p>作成するコレクションの種類のスコープを設定するには、 <a href=&quot;new-cmdevicecollection&quot;>New-CMDeviceCollection</a> コマンドレットまたは <a href=&quot;new-cmusercollection&quot;>New-CMUserCollection コマンドレットを</a> 使用することもできます。</p>\n<p>コレクションを作成したら、メンバーシップ ルールを使用してコレクションにリソースを追加します。\nコレクションにメンバーを追加するには、次のいずれかのコマンドレットを使用してメンバーシップ規則を追加します。例:</p>\n<ul>\n<li>\n              <a href=&quot;add-cmdevicecollectionquerymembershiprule&quot;>Add-CMDeviceCollectionQueryMembershipRule</a></li>\n<li>\n              <a href=&quot;add-cmusercollectionquerymembershiprule&quot;>Add-CMUserCollectionQueryMembershipRule</a></li>\n</ul>\n<p>詳細については、「 <a href=&quot;/mem/configmgr/core/clients/manage/collections/create-collections&quot;>Configuration Manager でコレクションを作成する方法</a>」を参照してください。</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-CMCollection.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-CMCollection\" />\r\n<meta name=\"notes\" content=\"<p>この戻りオブジェクトとそのプロパティの詳細については、「 <a href=&quot;/mem/configmgr/develop/reference/core/clients/collections/sms_collection-server-wmi-class&quot;>サーバー WMI クラスSMS_Collection</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-CMCollection -CollectionType <CollectionType> [-Comment <String>] -LimitingCollectionName <String>\n -Name <String> [-RefreshSchedule <IResultObject>] [-RefreshType <CollectionRefreshType>]\n [-VariablePriority <Int32>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMCollection -CollectionType <CollectionType> [-Comment <String>] -InputObject <IResultObject>\n -Name <String> [-RefreshSchedule <IResultObject>] [-RefreshType <CollectionRefreshType>]\n [-VariablePriority <Int32>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"New-CMCollection -CollectionType <CollectionType> [-Comment <String>] -LimitingCollectionId <String>\n -Name <String> [-RefreshSchedule <IResultObject>] [-RefreshType <CollectionRefreshType>]\n [-VariablePriority <Int32>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.New-CMCollection\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}