AzureRT/azure-sdk-tools — pull request #34 by rickrain (2013-07-03 05:09:25+00:00)
Title: Added wildcard support for the Name parameter on Start-AzureVM and Stop-...

Added wildcard support for the Name parameter on Start-AzureVM and Stop-AzureVM.

Example regular expressions supported:

// Starts all VM's in the service MyService
Start-AzureVM -Name * -ServiceName MyService

// Starts all VM's whose Name starts with "test" in the service MyService
Start-AzureVM -Name test* -ServiceName MyService

// Starts all VM's whose Name ends with "test" in the service MyService
Start-AzureVM -Name *test -ServiceName MyService

// Starts the VM whose Name is "myvm" in the service MyService
Start-AzureVM -Name myvm -ServiceName MyService

// Stops all VM's in the service MyService
Stop-AzureVM -Name * -ServiceName MyService -Force

// Stops all VM's whose Name starts with "test" in the service MyService
Stop-AzureVM -Name test* -ServiceName MyService -Force

// Stops all VM's whose Name ends with "test" in the service MyService
Stop-AzureVM -Name *test -ServiceName MyService -Force

// Stop the VM whose Name is "myvm" in the service MyService
Stop-AzureVM -Name myvm -ServiceName MyService