Azure powershell list Classic VM


I’m looking for a way to list all Classics VMs in all subscriptions attached to my account (more than 10 subscuptions) ?

When I try to run 

Set-AzureSubscription -subscriptionid "XXXXXXX"

It return an error “The subscription id  XXXXXXX doesn’t exist.” … but I’m the owner of tens subscriptions.

How can I handel this ?

It is working find in ARM but I also need information for ASM VMs.