Get Active Directory Password Change Dates – 60 second solutions

Here’s another very useful script which simply lists all of your users in Active Directory, sorted by when their passwords were last changed. Great for checking if your password policies are actually being enforced… Import-Module ActiveDirectory #This may be done automatically when issuing the next line Get-ADUser –Filter * -Properties PasswordLastSet, PasswordNeverExpires | Sort PasswordLastSet […]

Find Hyper-V Virtual Machine by MAC Address – 60 Second Solutions

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 […]