?
Solved

Search for VM by IP address in VMM

Posted on 2014-09-07
3
Medium Priority
?
613 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 2000 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

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.
A look into Log Analysis and Effective Critical Alerting.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
Suggested Courses

801 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