{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/fr-fr/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":"25/06/2026","updated_at_date_time":"2026-06-25T22:42:40.9554754Z"},"_path":"module/configurationmanager/block-cmdevice.json","_rel":"../../","_tocRel":"../sccm-ps/toc.json","apiPlatform":"powershell","author":"Banreet","breadcrumb_path":"/powershell/sccm/bread/toc.json","canonical_url":"https://learn.microsoft.com/fr-fr/powershell/module/configurationmanager/block-cmdevice?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Block-CMDevice.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","description":"Bloque un appareil.","document_id":"0ecc0146-97f5-75da-486a-4366cc51de2a","document_version_independent_id":"d7c8405d-9f7f-9591-ae45-59bbeb9ac839","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/Block-CMDevice.md","github_contributors":["aczechowski","damabe","sankethka"],"locale":"fr-fr","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"04/29/2019","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/Block-CMDevice.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Block-CMDevice.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","title":"Block-CMDevice","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-06-25 10:42 PM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/block-cmdevice","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Block-CMDevice","schemaType":"PowershellCmdlet","summary":"<p>Bloque un appareil.</p>\n","uid":"ConfigurationManager.Block-CMDevice"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Block-CMDevice":{"href":"block-cmdevice","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Block-CMDevice","schemaType":"PowershellCmdlet","summary":"<p>Bloque un appareil.</p>\n","uid":"ConfigurationManager.Block-CMDevice"}},"description":"<p>\n              <strong>L’applet de commande Block-CMDevice</strong> bloque un ou plusieurs appareils clients.\nVous devez bloquer un appareil à partir du site attribué au client.\nVous ne pouvez pas bloquer l’appareil à partir de sites plus hauts dans la hiérarchie.\nLes appareils bloqués sont ignorés par la hiérarchie Configuration Manager.\nPour débloquer un appareil, utilisez l’applet de commande <a href=\"unblock-cmdevice\">Unblock-CMDevice</a> .</p>\n<div class=\"NOTE\">\n<p>Remarque</p>\n<p>Exécutez des applets de commande Configuration Manager à partir du lecteur de site Configuration Manager, par exemple <code>PS XYZ:\\&gt;</code>. Pour plus d’informations, consultez <a href=\"/powershell/sccm/overview\">Prise en main</a>.</p>\n</div>\n","examples":[{"code":"PS XYZ:\\>Block-CMDevice -DeviceName \"CMCEN-DIST02\"","description":"<p>Cette commande bloque l’appareil nommé Test-DIST02.</p>\n","summary":"","title":"Exemple 1 : Bloquer un appareil"},{"code":"PS XYZ:\\> Get-CMDevice -Name \"WIN10-86-33\" | Block-CMDevice","description":"<p>Cette commande obtient l’objet d’appareil nommé WIN10-86-33 et utilise l’opérateur de pipeline pour passer l’objet à l’applet de commande <strong>Block-CMDevice</strong> , qui bloque l’objet d’appareil.</p>\n","summary":"","title":"Exemple 2 : Obtenir un appareil et le bloquer"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.ManagementProvider.IResultObject</span>\n"}],"links":[{"href":"approve-cmdevice","text":"Approve-CMDevice"},{"href":"get-cmdevice","text":"Get-CMDevice"},{"href":"remove-cmdevice","text":"Remove-CMDevice"},{"href":"unblock-cmdevice","text":"Unblock-CMDevice"}],"module":"ConfigurationManager","name":"Block-CMDevice","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">System.Object</span>\n"}],"parameters":[{"aliases":"cf","defaultValue":"False","description":"<p>Une invite de confirmation apparaît avant d’exécuter le cmdlet.</p>\n","name":"Confirm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"ResourceId","defaultValue":"None","description":"<p>Spécifie l’ID d’un appareil.</p>\n","isRequired":true,"name":"DeviceId","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"Name","defaultValue":"None","description":"<p>Spécifie le nom d’un appareil.</p>\n","isRequired":true,"name":"DeviceName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>Ce paramètre traite les caractères génériques comme des valeurs de caractère littéral. Vous ne pouvez pas la combiner avec <strong>ForceWildcardHandling</strong>.</p>\n","name":"DisableWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>Ce paramètre traite les caractères génériques et peut entraîner un comportement inattendu (non recommandé). Vous ne pouvez pas la combiner avec <strong>DisableWildcardHandling</strong>.</p>\n","name":"ForceWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>Spécifie un objet d’appareil.\nPour obtenir un objet d’appareil, utilisez l’applet <a href=\"get-cmdevice\">de commande Get-CMDevice</a> .</p>\n","isRequired":true,"name":"InputObject","parameterValueGroup":"","pipelineInput":true,"position":"0","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"wi","defaultValue":"False","description":"<p>Présente ce qui se produit si le cmdlet s’exécute. L’applet de commande ne s’exécute pas.</p>\n","name":"WhatIf","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>Bloque un appareil.</p>\n","syntaxes":["Block-CMDevice [-InputObject] <IResultObject> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]","Block-CMDevice -DeviceId <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]","Block-CMDevice -DeviceName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]"],"uid":"ConfigurationManager.Block-CMDevice","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"fr-fr","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/Block-CMDevice.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/block-cmdevice","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Block-CMDevice","schemaType":"PowershellCmdlet","summary":"<p>Bloque un appareil.</p>\n","uid":"ConfigurationManager.Block-CMDevice"}],"canonical_url":"https://learn.microsoft.com/fr-fr/powershell/module/configurationmanager/block-cmdevice?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/fr-fr/powershell/module/configurationmanager/block-cmdevice?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>\n              <strong>L’applet de commande Block-CMDevice</strong> bloque un ou plusieurs appareils clients.\nVous devez bloquer un appareil à partir du site attribué au client.\nVous ne pouvez pas bloquer l’appareil à partir de sites plus hauts dans la hiérarchie.\nLes appareils bloqués sont ignorés par la hiérarchie Configuration Manager.\nPour débloquer un appareil, utilisez l’applet de commande <a href=&quot;unblock-cmdevice&quot;>Unblock-CMDevice</a> .</p>\n<div class=&quot;NOTE&quot;>\n<p>Remarque</p>\n<p>Exécutez des applets de commande Configuration Manager à partir du lecteur de site Configuration Manager, par exemple <code>PS XYZ:\\&amp;gt;</code>. Pour plus d’informations, consultez <a href=&quot;/powershell/sccm/overview&quot;>Prise en main</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/Block-CMDevice.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=\"fr-fr\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"Block-CMDevice\" />\r\n<meta name=\"notes\" content=\"\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>Bloque un appareil.</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"Block-CMDevice [-InputObject] <IResultObject> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]\n [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Block-CMDevice -DeviceId <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Block-CMDevice -DeviceName <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]\n [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Block-CMDevice\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}