Stop-VMsInSequence
1.0
Connects to Azure and stops specified VMs in a sequence and including a wait time between the VMs. It is based on Stop-AzureV2Vs (https://github.com/azureautomation/runbooks/blob/master/Utility/ARM/Stop-AzureV2VMs.ps1).
If you provide the sequence "vm4, 30, vm3, 60, vm2, vm1", then VM4 stops first, then it waits 30 seconds before VM3 stops, then waits again for 60 sec
If you provide the sequence "vm4, 30, vm3, 60, vm2, vm1", then VM4 stops first, then it waits 30 seconds before VM3 stops, then waits again for 60 sec
Connects to Azure and stops specified VMs in a sequence and including a wait time between the VMs. It is based on Stop-AzureV2Vs (https://github.com/azureautomation/runbooks/blob/master/Utility/ARM/Stop-AzureV2VMs.ps1).
If you provide the sequence "vm4, 30, vm3, 60, vm2, vm1", then VM4 stops first, then it waits 30 seconds before VM3 stops, then waits again for 60 seconds, then VM2 stops and finally VM4 stops.
Show more
If you provide the sequence "vm4, 30, vm3, 60, vm2, vm1", then VM4 stops first, then it waits 30 seconds before VM3 stops, then waits again for 60 seconds, then VM2 stops and finally VM4 stops.
Installation Options
Owners
Package Details
Author(s)
- info@thomas-zuehlke.de
Tags
AzureAutomation VirtualMachines Utility Stop
Dependencies
This script has no dependencies.
FileList
- Stop-VMsInSequence.nuspec
- Stop-VMsInSequence.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
1.2 | 95 | 1/28/2020 |
1.0 (current version) | 38 | 1/28/2020 |