Lambda Function Using For Loop In Powershell If Variable Is Empty