Get-WmiObject Filtering and Querying improvements

I modified a couple of functions: 
Get-WmiObject Filtering and Querying improved to avoid using the PipeLine + Where-Object Cmdlets.
Huge performance improvements on big SCCM 2007 environment