Stop-VMsInSequence

1.2

Connects to Azure and stops specified VMs in a sequence and including a wait time between the VMs. It is based on Stop-AzureV2VMs.
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

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

Install-Script -Name Stop-VMsInSequence

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)

  • Thomas Zuehlke

Tags

AzureAutomation VirtualMachines Utility Stop Sequence

Dependencies

This script has no dependencies.

FileList

Version History

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