Quantcast
Viewing all articles
Browse latest Browse all 4189

PowerShell script to set VM static IP address - multiple subscriptions

Hi,

I have set successfully static IP Address to all of my virtual machines until now (1 subscription) using Set-AzureStaticVNetIP

But now I have 2 Azure subscriptions. The virtual networks names are the same at both of the suscriptions.

The question is:

How to define the subscription to use when defining static IP addresses to VMs?

Thanks in advance!


Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>