Documentation
The TRYWHERE commands works exactly the same as the WHERE command, except that it ignores any exception when it is run.
gor ... | TRYWHERE <condition>
See WHERE for a more detailed description of the usage of TRYWHERE