How do I confirm What NETWORK a VM is connected to?

Hi,
I am just starting out with runbooks and making some progress. I have been able to startup and shutdown VM's on a schedule and it all works well.
I am now looking at how I can select only VM's that are connected to a specific virtual network. The objects returned by Get-AzureVM do not seem to contain the name of the network they are connected to. I have found that Get-AzureSubnet seems to work but
I am a little conserned about what happens if I have multiple networks with the same Subnet names? I can't find any information on this.
Has anyone any ideas?
Many thanks
Gary

Hi,
Based on my experience, there is no Azure PowerShell cmdlets to achieve that directly.
You can try the commands below:
Get-AzureVM -Servicename xxx -Name xxx (to get the internal IP address and cloud service name of the VM)
Get-AzureSubnet (to get the subnet name of the VM)
Get-AzureVnetSite (to get the regions and subnets of all the virtual networks)
Get-AzureService (to get the region of the cloud service)
After you compare the region of the cloud service which the VM belongs to and the Subnet that VM in, you can know the virtual network of the VM.
However, if you have virtual networks which are in the same region and has similar address spaces and subnet names, it would be impossible to distinguish that.
The easiest way to check that is from the Azure management portal. You can check the Dashboard of the Virtual network and the names of the VMs belong
to the virtual network will be displayed under resources.
Best regards,
Susie
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Similar Messages

  • How to find out what network an iphone is locked to.

    How to find out what network an iphone is locked to.
    Assist.

    The previous owner/seller didn't provide this info?
    What does it say at Settings > General > About > Carrier?

  • HT4262 I have two networks one each in two cities.  Both are named the same but require different passwords. I am at my second location but cannot connect to his wifi network. How do I delet one network so I can connect to my second network?

    I have two networks one each in two cities.  Both are named the same but require different passwords. I am at my second location and cannot connect to this wifi network. How do I delet one network so I can connect to my second network?

    Just go to the wireless network preferences and empty out all the stored wireless networks.. then scan and connect to the local wireless.
    Select them and tap the - button below it.
    Once they are emptied out.. it might be good to reboot the computer with the remember networks unchecked.
    Start with a clean slate.

  • Is it possible and how to find out what host, if any, is connected to a remote PXI prior to switching execution target programmatically or in devlopment environment?

    Is it possible and how to find out what host, if any, is connected to a remote PXI prior to switching execution target programmatically or in devlopment environment?

    This functionality is not available in LabVIEW RT. If you attempt to switch execution target to an RT controller already targetted by someone else, it will tell you too many hosts are connected and fail. Of course if it allows you to switch, then no one was connected. By attempting to switch execution target you can use the message above to determine if anyone is targetted or not, but if someone is, there is no way to determine who.
    If you are concerned about this sort of thing, you might check the RT target options in LabVIEW RT to change the IP access list for hosts that are allowed to switch execution target to it.

  • How to find out what network your phone is locked to

    How do I find out if my phone has been locked to a network

    Ask whoever you bought it from or call AppleCare and give them the serial number of the phone.

  • HT4061 how do i find what network my ipnone 4s uses please

    hi , i just purchase

    If you don't know what carrier your phone is locked to, the only reliable way to determine such is to call AppleCare.

  • Im confused to what network im supposed to connect to

    This must sound stupid. bu ti have followed the steps and set my apple tv up as it says but when it asks me to pick a network to connect to i dont know if im supposed to connect to my internet connection or my imacs wireless card. So basically connect to the web or to a computer wirelessly.
    Now im confused because i dont seem to be able to find the name of my computer and i dont know what it is. I have connected to the internet connection and its not being detected in my Itunes. so im stuck
    Can someone help me so i know what i need to connect to and also how to make it detected. Im hoping to just stream music and not sync any.
    neal

    Both your iMac and AppleTV should be connected to the "internet connection" router. This way everything has access to everything.
    When AppleTV is connected to the router, open iTunes on your iMac and initiate the pairing process (look for AppleTV's). Enter the PIN number on the AppleTV. It should appear under devices on the left.

  • How to program Agilent E5071C network analyzer with USB connection

    Hello,
    I am trying to program the Agilent E5071C Network Analyzer in Labview. I'm going to have it connected through USB, I don't know where to begin. I have the Drivers installed from the NI website, but i don't know where to go from there.
    Thank You

    duplicate post

  • How can i see what devices are connected to my icloud?

    I want to know if pictues from my mac are on any other devices. How can i see what other devices i have connected to my icloud?

    My brother asked me for my account one day but i don't know if he used it to connect icloud or to just download an app. I just want to see if his device is connected to my icloud and if so, i want to disconnect him. So is there any site or anything i can do to see what devices are connected?

  • How to confirm the Network latency in welclogic server

    Hi,
    Please help me on below query.
    If a production server is having a network bottle neck or network throttling. How can i confirm? and What would you do?
    Request you to guide me on this.
    Thanks,
    Raj

    Hi,
    N/W Issues
    If your WebLogic Servers are part of Cluster and if you see any Multicast related errors or warnings like ... ManagedServer is getting Kicked of of Cluster and then again Joining after some time...or if you see any Multicast Lost Messages more than 2-3 times...it means there may be some N/W Issues ...to test this you can use MulticastTest ot MulticastMonitor Utilities.... Like this u will get some idea abt n/w issues.
    N/W latency
    WebLogic Servers logs/Access Logs ... will never be useful to identify the N/W Latency.
    Thanks
    Jay SenSharma

  • How do find out what your network password is if you forgot it?

    How do find out what your network password is if you forgot it?

    It should be in your Keychain. Find it in Keychain Access.

  • HT3819 How do I find what computers are on my home sharing network?

    How do I find what computers are on my home sharing network?

    skyeski wrote:
    Home Sharing network thru iTunes.
    I can only check the two that I know about with my iTunesID and password. How do I find out what the other three are?
    Im confused.
    How do you know there are three other computers on your network using Home Sharing?
    Do you have 5 computers, all powered on with iTunes running?

  • HT4847 How do I confirm that all my Numbers documents have been backed up on iCloud? I want to be able to see what has been backed up.

    How do I confirm that all my Numbers documents have been backed up on iCloud? I want to be able to see what has been backed up.

    On your computer go to iCloud.com, sign in and select the documents app.
    On your iPad go to Settings>iCloud>Storage & Backup>Manage Storage and your documents should be listed.
    If you are referring to an iOS device backup it is not possible to view these.

  • How do I find out what network my iPhone is locked to, How do I find out what network my iPhone is locked to

    I just got an iPhone 3 online and it's network locked how do I find out what network it's locked to

    You may be able to call Apple Care and ask them. If it originated in the US, it is locked to AT&T.

  • HT4582 hi I have bought an ipad mini which was advertised as unlocked, ipad has signal but says invalid sim, how to I find out what network it is locked to?

    hi I have bought an ipad mini wich was advertised as unlocked to any network, when I put nano sim from giff gaff in the ipad says invalid sim, how can I find out what network it is locked to?

    There is nothing on the iPad itself that can tell you. Did you buy it from a reputable retailer? You can try asking them.

Maybe you are looking for