Solved

Search for VM by IP address in VMM

Posted on 2014-09-07
3
548 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

730 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