For Windows Azure, if you're still using the Windowsazure.com portal to manage virtual machines, it doesn't look very big. Windows Azure PowerShell is a powerful scripting environment that you can use to control and automate the deployment and management of workloads in Windows Azure.
Installation
Install with Microsoft Web Platform Installer one click.
sign in to your Azure account
Start the installed Windows Azure PowerShell and use the "add-azureaccount" command to sign in to your Windows Azure account, such as:
If you have multiple subscriptions, you can set them through the "select-azuresubscription" command, such as:
Start, stop, and restart Windows Azure virtual machines
The Windows Azure PowerShell Cmdlet supports restarting, stopping, and starting virtual machine operations using the RESTART-AZUREVM, STOP-AZUREVM, and START-AZUREVM commands in the following format:
Restart-azurevm-servicename $cloudSvcName-name $vmname
Stop-azurevm-servicename $cloudSvcName-name $vmname
Start-azurevm-servicename $cloudSvcName-name $vmname
where "-servicename $cloudSvcName" represents the name of the cloud service, "-name $vmname" the name of the virtual machine. For example, use the "stop-azurevm" command to close a virtual machine, such as:
Use the "start-azurevm" command to start a virtual machine, such as:
For additional commands, see the related Help.