While fetching any existing VM with UM enabled, updating the check to test for windows or linux VMs
Get-AzureRmVm -Status would return PSVirtualMachineInstanceView which does not have Id property, hence using the SubscriptionId from parameters and for Jobs, using VMName
Updating Start-AzureRmAutomationRunbook to call the child runbook instead of calling itself.