Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.