azureautomation / runbooks

Sample Automation runbooks
MIT License
150 stars 128 forks source link

Update Enable-MultipleSolution.ps1 #68

Closed dmohanta closed 3 years ago

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