QuestionQ28
Manage Windows Server instances and workloads in a hybrid environmentHOTSPOT –
You have an Azure Automation account named AA1 in a resource group named RG1.
You have an Azure Arc-enabled server named Server1 that runs Windows Server and is in a resource group named RG2.
You have a User Hybrid Runbook Worker group named Group1. Server1 is registered as a worker in Group1.
You store the service URL required by the Hybrid Runbook Worker extension for AA1 in a variable named $connectionValue.
You need to install the Hybrid Worker extension on Server1.
How should you complete the PowerShell script?
Select
$settings = @{ "" = $connectionValue } -ResourceGroupName "RG2" -Location "eastus" -MachineName "Server1" -Name "HybridWorkerExtension" -Publisher "Microsoft.Azure.Automation.HybridWorker" -ExtensionType HybridWorkerForWindows -TypeHandlerVersion 1.1 -Setting $settings -NoWait -EnableAutomaticUpgrade
Community Discussion