Powershell Check If Array Of Objects Php W3schools