Created
February 4, 2015 12:58
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start-AzureVM -ServiceName leasetest3 -Name host3 | |
<# Output | |
OperationDescription OperationId OperationStatus | |
-------------------- ----------- --------------- | |
Start-AzureVM 92a7ff2a-2a63-5e60-893c-80d063f721a6 Succeeded | |
#> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script sample is used in the blog post at http://blogs.msdn.com/b/pkirchner/archive/2015/02/09/grundlagen-vms-in-azure-per-powershell-verwalten-auflisten-starten-stoppen-l-246-schen.aspx.