{"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-01T11:38:45.0845369Z"},"_path":"module/configurationmanager/get-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/get-cmcollection?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Get-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/Get-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/Get-CMCollection.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Get-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":"Get-CMCollection","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-09-01 11:38 AM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/get-cmcollection","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Get-CMCollection","schemaType":"PowershellCmdlet","summary":"<p>デバイスまたはユーザー コレクション オブジェクトを取得します。</p>\n","uid":"ConfigurationManager.Get-CMCollection"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Get-CMCollection":{"href":"get-cmcollection","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Get-CMCollection","schemaType":"PowershellCmdlet","summary":"<p>デバイスまたはユーザー コレクション オブジェクトを取得します。</p>\n","uid":"ConfigurationManager.Get-CMCollection"}},"description":"<p>デバイスまたはユーザー コレクション オブジェクトを取得するには、このコマンドレットを使用します。</p>\n<p>コレクションは、管理しやすい単位にリソースを整理するのに役立ちます。 クライアント管理のニーズに合わせてコレクションを作成し、一度に複数のリソースに対して操作を実行できます。 ほとんどの管理タスクは、1 つ以上のコレクションを使用するか、または必要とします。</p>\n<p>取得するコレクションの種類をスコープにするには、 <a href=\"get-cmdevicecollection\">Get-CMDeviceCollection</a> コマンドレットまたは <a href=\"get-cmusercollection\">Get-CMUserCollection コマンドレットを</a> 使用します。</p>\n<p>名前、ID、またはオブジェクトでコレクションを指定しない場合、このコマンドレットはすべてのコレクションを返します。</p>\n<p>詳細については、「 <a href=\"/mem/configmgr/core/clients/manage/collections/introduction-to-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":"Get-CMCollection -Name \"testUser\"","description":"","summary":"<p>このコマンドは、 <strong>testUser</strong> という名前のコレクションを取得します。</p>\n","title":"例 1: 名前でコレクションを取得する"},{"code":"Get-CMDistributionPointGroup -Name \"dpg1\" | Get-CMCollection","description":"<p>これらのコレクションにコンテンツを配布すると、サイトはこの配布ポイント グループのすべての現在のメンバーに自動的に配布されます。 詳細については、「 <a href=\"/mem/configmgr/core/servers/deploy/configure/install-and-configure-distribution-points#bkmk_manage\">配布ポイント グループの管理</a>」を参照してください。</p>\n","summary":"<p>このコマンドは <strong>、dpg1</strong> という名前の配布ポイント グループ オブジェクトを取得し、パイプライン演算子を使用してオブジェクトを <strong>Get-CMCollection</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-cmcollectionmember","text":"Get-CMCollectionMember"},{"href":"get-cmcollectionsetting","text":"Get-CMCollectionSetting"},{"href":"import-cmcollection","text":"Import-CMCollection"},{"href":"invoke-cmcollectionupdate","text":"Invoke-CMCollectionUpdate"},{"href":"new-cmcollection","text":"New-CMCollection"},{"href":"remove-cmcollection","text":"Remove-CMCollection"},{"href":"set-cmcollection","text":"Set-CMCollection"},{"href":"get-cmdevicecollection","text":"Get-CMDeviceCollection"},{"href":"get-cmusercollection","text":"Get-CMUserCollection"},{"href":"/mem/configmgr/core/clients/manage/collections/introduction-to-collections","text":"Configuration Manager のコレクションの概要"}],"module":"ConfigurationManager","name":"Get-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"},{"description":"","name":"<span class=\"no-loc xref\">IResultObject</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>取得するコレクションの種類をフィルター処理します。 このパラメーターは、<a href=\"get-cmdevicecollection\">Get-CMDeviceCollection コマンドレットまたは Get-CMUserCollection</a> コマンドレットの使用と機能的には同じです。<a href=\"get-cmusercollection\"></a></p>\n","name":"CollectionType","parameterValueGroup":"User, Device","position":"Named","type":"<span class=\"no-loc xref\">CollectionType</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>このコレクションに関連付けられている配布ポイント グループ オブジェクトを指定します。 このオブジェクトを取得するには、 <a href=\"get-cmdistributionpointgroup\">Get-CMDistributionPointGroup コマンドレットを</a> 使用します。</p>\n","isRequired":true,"name":"DistributionPointGroup","parameterValueGroup":"","pipelineInput":true,"position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>このコレクションに関連付けられている配布ポイント グループの GUID を指定します。 この値は <strong>GroupID</strong> プロパティで、 <code>{537e6303-69eb-4104-bf7b-7baf43ce2352}</code>など、中かっこで囲まれた標準の GUID です。</p>\n","isRequired":true,"name":"DistributionPointGroupId","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>このコレクションに関連付けられている配布ポイント グループの名前を指定します。</p>\n","isRequired":true,"name":"DistributionPointGroupName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</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":"CollectionId","defaultValue":"None","description":"<p>取得するコレクションの ID を指定します。 この値は <strong>CollectionID</strong> プロパティです (たとえば、 <code>XYZ00012</code> や <code>SMS00001</code>)。</p>\n","isRequired":true,"name":"Id","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"acceptWildcardCharacters":true,"aliases":"","defaultValue":"None","description":"<p>取得するコレクションの名前を指定します。</p>\n","name":"Name","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>デバイスまたはユーザー コレクション オブジェクトを取得します。</p>\n","syntaxes":["Get-CMCollection [-CollectionType <CollectionType>] [-Name <String>] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [<CommonParameters>]","Get-CMCollection [-CollectionType <CollectionType>] -DistributionPointGroup <IResultObject>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]","Get-CMCollection [-CollectionType <CollectionType>] -DistributionPointGroupId <String>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]","Get-CMCollection [-CollectionType <CollectionType>] -DistributionPointGroupName <String>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]","Get-CMCollection [-CollectionType <CollectionType>] -Id <String> [-DisableWildcardHandling]\n [-ForceWildcardHandling] [<CommonParameters>]"],"uid":"ConfigurationManager.Get-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/Get-CMCollection.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/get-cmcollection","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Get-CMCollection","schemaType":"PowershellCmdlet","summary":"<p>デバイスまたはユーザー コレクション オブジェクトを取得します。</p>\n","uid":"ConfigurationManager.Get-CMCollection"}],"canonical_url":"https://learn.microsoft.com/ja-jp/powershell/module/configurationmanager/get-cmcollection?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/ja-jp/powershell/module/configurationmanager/get-cmcollection?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>デバイスまたはユーザー コレクション オブジェクトを取得するには、このコマンドレットを使用します。</p>\n<p>コレクションは、管理しやすい単位にリソースを整理するのに役立ちます。 クライアント管理のニーズに合わせてコレクションを作成し、一度に複数のリソースに対して操作を実行できます。 ほとんどの管理タスクは、1 つ以上のコレクションを使用するか、または必要とします。</p>\n<p>取得するコレクションの種類をスコープにするには、 <a href=&quot;get-cmdevicecollection&quot;>Get-CMDeviceCollection</a> コマンドレットまたは <a href=&quot;get-cmusercollection&quot;>Get-CMUserCollection コマンドレットを</a> 使用します。</p>\n<p>名前、ID、またはオブジェクトでコレクションを指定しない場合、このコマンドレットはすべてのコレクションを返します。</p>\n<p>詳細については、「 <a href=&quot;/mem/configmgr/core/clients/manage/collections/introduction-to-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/Get-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=\"Get-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=\"Get-CMCollection [-CollectionType <CollectionType>] [-Name <String>] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Get-CMCollection [-CollectionType <CollectionType>] -DistributionPointGroup <IResultObject>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Get-CMCollection [-CollectionType <CollectionType>] -DistributionPointGroupId <String>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Get-CMCollection [-CollectionType <CollectionType>] -DistributionPointGroupName <String>\n [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Get-CMCollection [-CollectionType <CollectionType>] -Id <String> [-DisableWildcardHandling]\n [-ForceWildcardHandling] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Get-CMCollection\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}