{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/pt-br/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":"01/09/2026","updated_at_date_time":"2026-09-01T12:26:36.6242055Z"},"_path":"module/configurationmanager/remove-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/pt-br/powershell/module/configurationmanager/remove-cmcollection?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Remove-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/Remove-CMCollection.md","github_contributors":["aczechowski","damabe","mumian","sankethka"],"locale":"pt-br","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/Remove-CMCollection.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Remove-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":"Remove-CMCollection","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-09-01 12:26 PM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/remove-cmcollection","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Remove-CMCollection","schemaType":"PowershellCmdlet","summary":"<p>Remova um dispositivo ou uma coleção de usuários.</p>\n","uid":"ConfigurationManager.Remove-CMCollection"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Remove-CMCollection":{"href":"remove-cmcollection","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Remove-CMCollection","schemaType":"PowershellCmdlet","summary":"<p>Remova um dispositivo ou uma coleção de usuários.</p>\n","uid":"ConfigurationManager.Remove-CMCollection"}},"description":"<p>Use este cmdlet para remover um dispositivo ou conjunto de usuários.</p>\n<p>Não é possível remover coleções padrão. Qualquer coleção direcionada deve ter uma ID que comece com o código do site, não <code>SMS</code>.</p>\n<div class=\"NOTE\">\n<p>Observação</p>\n<p>Execute cmdlets do Configuration Manager na unidade do site do Configuration Manager, por exemplo<code>PS XYZ:\\&gt;</code>. Para obter mais informações, consulte <a href=\"/powershell/sccm/overview\">introdução</a>.</p>\n</div>\n","examples":[{"code":"Remove-CMCollection -Name \"testUser\" -Force","description":"","summary":"<p>Esse comando remove a coleção chamada <strong>testUser</strong>.\nEspecificar o parâmetro <strong>Force</strong> significa que você não será solicitado a fornecer confirmação antes que a coleção seja removida.</p>\n","title":"Exemplo 1: Remover uma coleção por nome"},{"code":"Get-CMCollection -Name \"testUser\" | Remove-CMCollection","description":"","summary":"<p>Esse comando obtém o objeto de coleção chamado <strong>testUser</strong> e usa o operador de pipeline para <strong>passá-lo para Remove-CMCollection</strong>, que remove a coleção.</p>\n","title":"Exemplo 2: Obter um objeto de coleção e removê-lo"}],"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":"new-cmcollection","text":"New-CMCollection"},{"href":"set-cmcollection","text":"Set-CMCollection"},{"href":"remove-cmdevicecollectionvariable","text":"Remove-CMDeviceCollectionVariable"},{"href":"/mem/configmgr/core/clients/manage/collections/create-collections","text":"Como criar coleções no Configuration Manager"}],"module":"ConfigurationManager","name":"Remove-CMCollection","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">System.Object</span>\n"}],"parameters":[{"aliases":"cf","defaultValue":"False","description":"<p>Solicita a confirmação antes de executar o cmdlet.</p>\n","name":"Confirm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>Esse parâmetro trata caracteres curinga como valores de caracteres literais. Você não pode combiná-lo com <strong>ForceWildcardHandling</strong>.</p>\n","name":"DisableWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>Força a execução do comando sem solicitar confirmação do usuário.</p>\n","name":"Force","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>Esse parâmetro processa caracteres curinga e pode levar a um comportamento inesperado (não recomendado). Você não pode combiná-lo com <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>Especifique a ID de uma coleção a ser removida. Esse valor é a propriedade <strong>CollectionID</strong> , por exemplo, <code>XYZ00012</code>. Você não pode remover coleções padrão, portanto, esse valor começa com o código do site, não <code>SMS</code>.</p>\n","isRequired":true,"name":"Id","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>Especifique um objeto de coleção a ser removido. Para obter esse objeto, use os cmdlets <a href=\"get-cmcollection\">Get-CMCollection</a>, <a href=\"get-cmdevicecollection\">Get-CMDeviceCollection</a> ou <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"},{"acceptWildcardCharacters":true,"aliases":"","defaultValue":"None","description":"<p>Especifique o nome de uma coleção a ser removida.</p>\n","isRequired":true,"name":"Name","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"wi","defaultValue":"False","description":"<p>Mostrar o que aconteceria se o cmdlet fosse executado. O cmdlet não é executado.</p>\n","name":"WhatIf","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>Remova um dispositivo ou uma coleção de usuários.</p>\n","syntaxes":["Remove-CMCollection [-Force] -InputObject <IResultObject> [-DisableWildcardHandling] [-ForceWildcardHandling]\n [-WhatIf] [-Confirm] [<CommonParameters>]","Remove-CMCollection [-Force] -Id <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]","Remove-CMCollection [-Force] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]"],"uid":"ConfigurationManager.Remove-CMCollection","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"pt-br","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/Remove-CMCollection.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/remove-cmcollection","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Remove-CMCollection","schemaType":"PowershellCmdlet","summary":"<p>Remova um dispositivo ou uma coleção de usuários.</p>\n","uid":"ConfigurationManager.Remove-CMCollection"}],"canonical_url":"https://learn.microsoft.com/pt-br/powershell/module/configurationmanager/remove-cmcollection?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/pt-br/powershell/module/configurationmanager/remove-cmcollection?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>Use este cmdlet para remover um dispositivo ou conjunto de usuários.</p>\n<p>Não é possível remover coleções padrão. Qualquer coleção direcionada deve ter uma ID que comece com o código do site, não <code>SMS</code>.</p>\n<div class=&quot;NOTE&quot;>\n<p>Observação</p>\n<p>Execute cmdlets do Configuration Manager na unidade do site do Configuration Manager, por exemplo<code>PS XYZ:\\&amp;gt;</code>. Para obter mais informações, consulte <a href=&quot;/powershell/sccm/overview&quot;>introdução</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/Remove-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=\"pt-br\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"Remove-CMCollection\" />\r\n<meta name=\"notes\" content=\"\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>Remova um dispositivo ou uma coleção de usuários.</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"Remove-CMCollection [-Force] -InputObject <IResultObject> [-DisableWildcardHandling] [-ForceWildcardHandling]\n [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Remove-CMCollection [-Force] -Id <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Remove-CMCollection [-Force] -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Remove-CMCollection\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}