Refactored to support recursive searching for computers in Active Directory.