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
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

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Stop-VMsInSequence -RequiredVersion 1.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • info@thomas-zuehlke.de

Tags

AzureAutomation VirtualMachines Utility Stop

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
1.2 91 1/28/2020
1.0 (current version) 38 1/28/2020