How to get list of all Azure VMs in Powershell -


i'm attempting list of azure vms in powershell.

get-azurevm 

unfortunately returns vms listed under virtual machines (classic).

enter image description here

how can list of new virtual machines?

you need use azure resource manager mode access new vms:

switch-azuremode -name azureresourcemanager 

you can read more here.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -