Solved

Search for VM by IP address in VMM

Posted on 2014-09-07
3
578 Views
Last Modified: 2014-09-08
Is it possible to search for VMs based on IP address in VMM?
0
Comment
Question by:itnifl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
Shabarinath Ramadasan earned 500 total points
ID: 40309335
Please try this from SCVMM Powershell.

Get-Vm |Get-VirtualNetworkAdapter |Where {$_.IPv4Addresses -match "192.168.123.112"} |Select Name, IPv4Addresses}

Open in new window


Cheers !
0
 
LVL 2

Author Closing Comment

by:itnifl
ID: 40309393
I was hoping for a gui option, but PS works fine. Slight error there at the end of your line. You have an } that ain't supposed to be there :)
I changed it to the following to suit my needs:

Get-Vm |Get-VirtualNetworkAdapter |Where {$_.IPv4Addresses -like "192.168.123*"} | Select Name, IPv4Addresses

Open in new window


Thanks!
0
 
LVL 14

Expert Comment

by:Shabarinath Ramadasan
ID: 40309474
:D That } came while I did a copy paste. Initially, I put the where condition check at the end. After a while, I realized that the conditioning should happen first for a quicker response. So while I posted it, I copy pasted each block - however this } came un noticed.

Glad to hear that it worked for you !

Cheers !
0

Featured Post

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question