{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/it-it/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":"03/08/2026","updated_at_date_time":"2026-08-03T07:37:54.8815169Z"},"_path":"module/configurationmanager/add-cmcollectionmembershiprule.json","_rel":"../../","_tocRel":"../sccm-ps/toc.json","apiPlatform":"powershell","author":"Banreet","breadcrumb_path":"/powershell/sccm/bread/toc.json","canonical_url":"https://learn.microsoft.com/it-it/powershell/module/configurationmanager/add-cmcollectionmembershiprule?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Add-CMCollectionMembershipRule.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","document_id":"a1e1a274-4bda-7ad7-be2a-7bc1a781c969","document_version_independent_id":"69420b04-8c6e-af34-e753-cab34fef48ef","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/Add-CMCollectionMembershipRule.md","github_contributors":["aczechowski","damabe","mumian","sankethka"],"locale":"it-it","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"12/30/2021","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/Add-CMCollectionMembershipRule.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Add-CMCollectionMembershipRule.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","title":"Add-CMCollectionMembershipRule","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-08-03 07:37 AM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/add-cmcollectionmembershiprule","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Add-CMCollectionMembershipRule","schemaType":"PowershellCmdlet","summary":"<p>\n              <em>Per usare il sistema solo</em> per aggiungere regole di appartenenza alle raccolte.</p>\n","uid":"ConfigurationManager.Add-CMCollectionMembershipRule"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Add-CMCollectionMembershipRule":{"href":"add-cmcollectionmembershiprule","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Add-CMCollectionMembershipRule","schemaType":"PowershellCmdlet","summary":"<p>\n              <em>Per usare il sistema solo</em> per aggiungere regole di appartenenza alle raccolte.</p>\n","uid":"ConfigurationManager.Add-CMCollectionMembershipRule"}},"description":"<p>Questo cmdlet viene usato da altri cmdlet per creare regole di appartenenza. Non usare direttamente questo cmdlet. Usare uno dei cmdlet seguenti:</p>\n<ul>\n<li><p>\n              <a href=\"add-cmdevicecollectiondirectmembershiprule\">Add-CMDeviceCollectionDirectMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=\"add-cmdevicecollectionexcludemembershiprule\">Add-CMDeviceCollectionExcludeMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=\"add-cmdevicecollectionincludemembershiprule\">Add-CMDeviceCollectionIncludeMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=\"add-cmdevicecollectionquerymembershiprule\">Add-CMDeviceCollectionQueryMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=\"add-cmusercollectiondirectmembershiprule\">Add-CMUserCollectionDirectMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=\"add-cmusercollectionexcludemembershiprule\">Add-CMUserCollectionExcludeMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=\"add-cmusercollectionincludemembershiprule\">Add-CMUserCollectionIncludeMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=\"add-cmusercollectionquerymembershiprule\">Add-CMUserCollectionQueryMembershipRule</a></p>\n</li>\n</ul>\n","inputs":[{"description":"","name":"<span class=\"no-loc xref\">System.Object</span>\n"},{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.ManagementProvider.IResultObject</span>\n"}],"module":"ConfigurationManager","name":"Add-CMCollectionMembershipRule","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">System.Object</span>\n"}],"parameters":[{"aliases":"SearchCriteria","defaultValue":"None","description":"","isRequired":true,"name":"ChildSearchCriteria","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SmsProviderSearch</span>\n"},{"aliases":"","defaultValue":"None","description":"","isRequired":true,"name":"CollectionId","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"","isRequired":true,"name":"CollectionName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"","isRequired":true,"name":"CollectionType","parameterValueGroup":"User, Device","position":"Named","type":"<span class=\"no-loc xref\">CollectionType</span>\n"},{"aliases":"cf","defaultValue":"None","description":"<p>Richiede la conferma prima di eseguire il cmdlet.</p>\n","name":"Confirm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>Questo parametro considera i caratteri jolly come valori letterali. Non è possibile combinarlo con <strong>ForceWildcardHandling</strong>.</p>\n","name":"DisableWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"","name":"ExtraArguments","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Object</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>Questo parametro elabora caratteri jolly e può causare un comportamento imprevisto (non consigliato). Non è possibile combinarlo con <strong>DisableWildcardHandling</strong>.</p>\n","name":"ForceWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"Collection","defaultValue":"None","description":"","isRequired":true,"name":"InputObject","parameterValueGroup":"","pipelineInput":true,"position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>Restituisce un oggetto che rappresenta l'elemento con cui si sta lavorando. Per impostazione predefinita, questo cmdlet potrebbe non generare alcun output.</p>\n","name":"PassThru","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"","isRequired":true,"name":"RuleClassName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"","isRequired":true,"name":"RulePropertyName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"wi","defaultValue":"None","description":"<p>Mostra cosa accade se viene eseguito il cmdlet. Il cmdlet non viene eseguito.</p>\n","name":"WhatIf","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>\n              <em>Per usare il sistema solo</em> per aggiungere regole di appartenenza alle raccolte.</p>\n","syntaxes":["Add-CMCollectionMembershipRule -ChildSearchCriteria <SmsProviderSearch> -CollectionName <String>\n -CollectionType <CollectionType> [-ExtraArguments <Object>] [-PassThru] -RuleClassName <String>\n -RulePropertyName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]","Add-CMCollectionMembershipRule -ChildSearchCriteria <SmsProviderSearch> -CollectionId <String>\n -CollectionType <CollectionType> [-ExtraArguments <Object>] [-PassThru] -RuleClassName <String>\n -RulePropertyName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]","Add-CMCollectionMembershipRule -ChildSearchCriteria <SmsProviderSearch> -CollectionType <CollectionType>\n [-ExtraArguments <Object>] -InputObject <IResultObject> [-PassThru] -RuleClassName <String>\n -RulePropertyName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]"],"uid":"ConfigurationManager.Add-CMCollectionMembershipRule","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"it-it","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/Add-CMCollectionMembershipRule.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/add-cmcollectionmembershiprule","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Add-CMCollectionMembershipRule","schemaType":"PowershellCmdlet","summary":"<p>\n              <em>Per usare il sistema solo</em> per aggiungere regole di appartenenza alle raccolte.</p>\n","uid":"ConfigurationManager.Add-CMCollectionMembershipRule"}],"canonical_url":"https://learn.microsoft.com/it-it/powershell/module/configurationmanager/add-cmcollectionmembershiprule?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/it-it/powershell/module/configurationmanager/add-cmcollectionmembershiprule?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>Questo cmdlet viene usato da altri cmdlet per creare regole di appartenenza. Non usare direttamente questo cmdlet. Usare uno dei cmdlet seguenti:</p>\n<ul>\n<li><p>\n              <a href=&quot;add-cmdevicecollectiondirectmembershiprule&quot;>Add-CMDeviceCollectionDirectMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=&quot;add-cmdevicecollectionexcludemembershiprule&quot;>Add-CMDeviceCollectionExcludeMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=&quot;add-cmdevicecollectionincludemembershiprule&quot;>Add-CMDeviceCollectionIncludeMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=&quot;add-cmdevicecollectionquerymembershiprule&quot;>Add-CMDeviceCollectionQueryMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=&quot;add-cmusercollectiondirectmembershiprule&quot;>Add-CMUserCollectionDirectMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=&quot;add-cmusercollectionexcludemembershiprule&quot;>Add-CMUserCollectionExcludeMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=&quot;add-cmusercollectionincludemembershiprule&quot;>Add-CMUserCollectionIncludeMembershipRule</a></p>\n</li>\n<li><p>\n              <a href=&quot;add-cmusercollectionquerymembershiprule&quot;>Add-CMUserCollectionQueryMembershipRule</a></p>\n</li>\n</ul>\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/Add-CMCollectionMembershipRule.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=\"it-it\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"Add-CMCollectionMembershipRule\" />\r\n<meta name=\"notes\" content=\"\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>\n              <em>Per usare il sistema solo</em> per aggiungere regole di appartenenza alle raccolte.</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"Add-CMCollectionMembershipRule -ChildSearchCriteria <SmsProviderSearch> -CollectionName <String>\n -CollectionType <CollectionType> [-ExtraArguments <Object>] [-PassThru] -RuleClassName <String>\n -RulePropertyName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Add-CMCollectionMembershipRule -ChildSearchCriteria <SmsProviderSearch> -CollectionId <String>\n -CollectionType <CollectionType> [-ExtraArguments <Object>] [-PassThru] -RuleClassName <String>\n -RulePropertyName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Add-CMCollectionMembershipRule -ChildSearchCriteria <SmsProviderSearch> -CollectionType <CollectionType>\n [-ExtraArguments <Object>] -InputObject <IResultObject> [-PassThru] -RuleClassName <String>\n -RulePropertyName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Add-CMCollectionMembershipRule\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}