User Tools

Site Tools


azure_powershell_cheat_sheet

This is an old revision of the document!


Azure PowerShell Cheat Sheet

Login-AzureRmAccount Associate PowerShell session with an account.
Get-AzureRmSubscription List subscriptions.
Get-AzureRmSubscription -SubscriptionName whatever | Select-AzureRmSubscription Set the current subscription.
Get-AzureRmContext Get the current subscription.
Get-AsureRmVm List the VMs.
Stop-AzureRmVm -ResourceGroupName whatever -Name whatever Stop a VM.
azure_powershell_cheat_sheet.1497947045.txt.gz · Last modified: 2017/06/20 21:24 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki