Today I had to try and find a virtual machine given its MAC address on a non-clustered Hyper-V environment. Here’s a quick PowerShell script to do just that! import-module hyper-v $Servers = @(“server1”,“server2”,“etc”) $results = @() foreach ($hvs in $Servers) { Get-VM –Computername $hvs | Get-VMNetworkAdapter | select VMName, MACAddress ,ComputerName | foreach-object { $out […]
Installing an Android Emulator on Windows with Google Play
Recently I was in a situation where I needed to demonstrate an Android App to a client, but didn’t have an Android device with me. I did however, have a Windows tablet with an internet connection to my development machine which does have an Android device, albeit a virtual one! Here’s how I set it […]