How to collect the Azure VM auto-shutdown time using PowerShell?
问题 I need to collect the Azure VM auto-shutdown time using PowerShell, but don't know how to get to the necessary resource property so the auto-shutdown time is reflected. I am getting the following output: ID: /subscriptions/12345/resourceGroups/W12RG/providers/Microsoft.Compute/virtualMachines/W12 Name ResourceGroupName ResourceType Location ---- ----------------- ------------ -------- shutdown-computevm-W12 W12RG Microsoft.DevTestLab/schedules eastus1 # Retrieve the resource group information