Lambda Function Using For Loop In Powershell Get Hostname