tag:blogger.com,1999:blog-2269516327950490847.post7452614457042418296..comments2023-03-28T08:39:06.775-04:00Comments on vNugglets: Find VM by NIC MAC Address with PowerShell -- Fast Like!AC (@allen_crawford)http://www.blogger.com/profile/05360032132878174436noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-2269516327950490847.post-30320336166877595402016-10-24T17:18:43.521-04:002016-10-24T17:18:43.521-04:00Hello, Unknown-
You can run this code from . So,...Hello, Unknown-<br /><br />You can run this code from . So, your workstation, your tools server, etc. You just need to have PowerShell and PowerCLI installed, network connectivity to the vCenter server, and credentials for the vCenter server.<br /><br />You connect to the vCenter server in PowerShell like:<br />PS C:\> Connect-VIServer -Server myvcenter.dom.com -Credential $myCreds<br /><br />Then, you can invoke the code in this post.<br /><br />How's that work out for you?<br /><br />Cheers,<br />MattMattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-84169078821898638952016-10-04T11:39:10.898-04:002016-10-04T11:39:10.898-04:00where should I run this script? in the Vcenter ser...where should I run this script? in the Vcenter server or in ESX servers? i know is silly question since looks most of people know where to run it but I want to take the risk and ask.<br /><br />thanks a lot.Anonymoushttps://www.blogger.com/profile/04593407806710220776noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-6481213943810830012013-01-18T08:53:54.428-05:002013-01-18T08:53:54.428-05:00Worked perfect for me. Thanks.Worked perfect for me. Thanks.Eugenehttps://www.blogger.com/profile/11178296360193938603noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-15536298748236504162012-02-16T00:22:59.070-05:002012-02-16T00:22:59.070-05:00Hello, Anonymous- Glad you enjoyed the script, an...Hello, Anonymous- Glad you enjoyed the script, and thanks for sharing your results. Always good to hear other people's experiences with the things about which we have written.MattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-74716662851690547762012-02-15T12:20:58.997-05:002012-02-15T12:20:58.997-05:00Thanks, great script. Runs in about 40 seconds on...Thanks, great script. Runs in about 40 seconds on my environment. Over 3600 VMs currently on that vcenter.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-77340112672716082252011-10-30T15:46:32.583-04:002011-10-30T15:46:32.583-04:00Yes, Anonymous, it would be pretty easy to get the...Yes, Anonymous, it would be pretty easy to get the VMHost based on a given MAC address. It is a similar concept to the original code. I updated the post with a piece to get a VMHost based on a MAC address. EnjoyMattBoren (@mtboren)https://www.blogger.com/profile/08371304528581535245noreply@blogger.comtag:blogger.com,1999:blog-2269516327950490847.post-84055972240556941152011-10-27T07:31:09.710-04:002011-10-27T07:31:09.710-04:00Any idea if this could be altered to find out what...Any idea if this could be altered to find out what HOST is running vmkernal on a given mac address?Anonymousnoreply@blogger.com