Overview
Azure PowerShell provides a set of cmdlets to manage compute resources such as Virtual Machines, VM Scale Sets, and disks. Below is a quick reference for the most commonly used compute cmdlets.
| Cmdlet | Description | Example |
|---|---|---|
Get-AzVM | Retrieves information about one or more virtual machines. | |
New-AzVM | Creates a new virtual machine. | |
Start-AzVM | Starts a stopped virtual machine. | |
Stop-AzVM | Stops a running virtual machine. | |
Remove-AzVM | Deletes a virtual machine. | |
Resize-AzVM | Changes the size of a virtual machine. |