Solved

Search for VM by IP address in VMM

Posted on 2014-09-07
3
460 Views
Last Modified: 2014-09-08
Is it possible to search for VMs based on IP address in VMM?
0
Comment
Question by:itnifl
  • 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

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.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now