Hello, @Eccup Reservoir !
When enabling VMs in Azure using the 'Resource Bridge' appliance, is there a way to script the ‘Enable in Azure’ process?
I reached out to the Arc enabled VMware vSphere team and while the PowerShell cmdlets are still being published (which is why we couldn't find them), there are Azure CLI commands that you can use.
First, ensure that the machine is enabled in Azure:
az connectedvmware vm create --custom-location "custom location name" --location "location name" --inventory-item "name or id of the inventory item" --name "virtual machine name" --resource-group "resource group name" --vcenter "name or id of the vcenter"
Then you can install the arc agent:
az connectedvmware vm guest-agent enable --username "vm user name" --password "vm password" --resource-group "resource group name" --subscription "Name or ID of subscription" --vm-name "vm name"
I hope this has been helpful! Your feedback is important so please take a moment to accept answers.
If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!