Powershell Ps Custom Object Detection