Powershell Loop Through Array Of Custom Object Layers