Originally my cmdlet was "returning" (outputting) a DataTable and I was able to perform where-object queries on the results. After changing it to return an IEnumberable of a new POCO class, where no longer works - returns null even for basic queries that should work. The data itself comes back fine when you don't filter it.
Any ideas?
http://bit.ly/9gI8KS has more detailed info. Thanks