Tell Azure fabric VM Agent installed in ARM VM

Tell the Azure fabric when the VM Agent has been manually installed in a VM.

John Savill

August 6, 2016

1 Min Read
Tell Azure fabric VM Agent installed in ARM VM

Q. How do I manually tell the Azure fabric the Azure VM Agent has been installed in a VM?

A. If you upload a VM to Azure or create your own template that does not have the Azure VM Agent installed it can be manually installed by downloading from http://go.microsoft.com/fwlink/?LinkID=394789 and then telling the Azure fabric that the VM Agent is installed in the VM. To do this with ARM perform the following:

$vm = Get-AzureRmVM -ResourceGroupName $rg -Name $name$vm.OSProfile.windowsConfiguration.provisionVMAgent = $TrueUpdate-AzureRmVM -ResourceGroupName $rg -VM $vm

 

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like