Skip to content

Instantly share code, notes, and snippets.

@pkirch
Created February 4, 2015 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkirch/dc4cd405c36e0d457776 to your computer and use it in GitHub Desktop.
Save pkirch/dc4cd405c36e0d457776 to your computer and use it in GitHub Desktop.
Sample how to start an Azure VM in PowerShell by service name and VM name.
Start-AzureVM -ServiceName leasetest3 -Name host3
<# Output
OperationDescription OperationId OperationStatus
-------------------- ----------- ---------------
Start-AzureVM 92a7ff2a-2a63-5e60-893c-80d063f721a6 Succeeded
#>
@pkirch
Copy link
Author

pkirch commented Feb 9, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment