Powershell Declare Custom Object Detection