Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 3 KB

automation-remove-hrw.md

File metadata and controls

47 lines (35 loc) · 3 KB
title description services documentationcenter author manager editor ms.assetid ms.service ms.devlang ms.topic ms.tgt_pltfrm ms.workload ms.date ms.author
Remove Azure Automation Hybrid Runbook Workers | Microsoft Docs
This article provides information on managing deployed Azure Automation Hybrid Runbook Workers that allows you to run runbooks on computers in your local datacenter or cloud environment.
automation
eslesar
carmonm
tysonn
automation
na
article
na
infrastructure-services
08/07/2017
magoedte

Remove Azure Automation Hybrid Runbook Workers

You can

Removing Hybrid Runbook Worker

You can remove one or more Hybrid Runbook Workers from a group or you can remove the group, depending on your requirements. To remove a Hybrid Runbook Worker from an on-premises computer, perform the following steps.

  1. In the Azure portal, navigate to your Automation account.
  2. From the Settings blade, select Keys and note the values for field URL and Primary Access Key. You need this information for the next step.
  3. Open a PowerShell session in Administrator mode and run the following command - Remove-HybridRunbookWorker -url <URL> -key <PrimaryAccessKey>. Use the -Verbose switch for a detailed log of the removal process.

Note

This does not remove the Microsoft Monitoring Agent from the computer, only the functionality and configuration of the Hybrid Runbook Worker role.

Remove Hybrid Worker groups

To remove a group, you first need to remove the Hybrid Runbook Worker from every computer that is a member of the group using the procedure shown earlier, and then you perform the following steps to remove the group.

  1. Open the Automation account in the Azure portal.
  2. Select the Hybrid Worker Groups tile and in the Hybrid Worker Groups blade, select the group you wish to delete. After selecting the specific group, the Hybrid worker group properties blade is displayed.
    Hybrid Runbook Worker Group Blade
  3. On the properties blade for the selected group, click Delete. A message appears asking you to confirm this action, select Yes if you are sure you want to proceed.
    Delete Group Confirmation Dialog
    This process can take several seconds to complete and you can track its progress under Notifications from the menu.

Next Steps