Hi @SujinaSJ-1789 ,
I have reached out to internal product team and below is the update and insights gathered.
You can use AZ CLI to install and enable arc agents. Additional automation options like PowerShell & Terraform will be also available soon, we are actively working to publish them in next 1-2 weeks. Az connected vm sub command can be used to enable VMs and install guest agents using AZ CLI.
Additional information about the AZ CLI commands:
To install the guest agents, first you will need to ensure the machine is enabled in Azure. If it's not then you can use the following command to do it.
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 using the following command
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"
You would have to loop these above steps for each VM to convert it as an automation script. I am trying to gather sample reference scripts to try helping further, I will share it here once I have some decent sample reference scripts.