https://learn.microsoft.com/en-us/powershell/module/az.automation/move-azautomationhybridrunbookworker?view=azps-15.5.0
Move-AzAutomationHybridRunbookWorker (Az.Automation) | Microsoft Learn
The Move-AzAutomationHybridRunbookWorker cmdlet moves a runbook worker from one runbook worker group to the other.
moveazautomationmicrosoftlearn