Lambda Function Using For Loop In Powershell Version 2