Added map and reduce to powershell