Search notes:

PowerShell cmdLet get-azVM

get-azVM only returns virtual machines deployed through Resource Manager.
PS /home/rene> get-azVM

ResourceGroupName                            Name   Location                VmSize  OsType                   NIC ProvisioningState Zone
-----------------                            ----   --------                ------  ------                   --- ----------------- ----
TQ84-TEST                                tq84-tst     eastus     Standard_E4-2s_v3   Linux               tq84994         Succeeded
DWH-DEV                                   dwh-dev westeurope         Standard_B2ms Windows            dwh-dev567         Succeeded
MACHINE-LEARNING                    machine-learn westeurope       Standard_D2s_v3   Linux              mach_813         Succeeded
LINUX-PROVISON                         linux-prov     ukwest         Standard_B4ms   Linux             linux-611         Succeeded
CONTINOUS-INT                            cont-int westeurope         Standard_B2ms Windows        ce-integra-164            Failed
TERRAFORM-PROD                    example-machine westeurope           Standard_F2   Linux           terraform-1         Succeeded

Index