Powershell - arrays and collections's iteration