powershell foreach object if not empty