Merge branch 'develop'
Merge branch 'develop'
Merge branch 'develop'
Update SCCM_Computer.psm1

Modified Remove-SCCMComputer : replaced "where" by "where-object"
Modified Get-SCCMComputer : removed the Pipe to the Where-Object and add Filtering at the Get-WmiObject level.
Modified Get-SCCMMachineSettings : removed the Pipe to the Where-Object and add Filtering at the Get-WmiObject level.
Update SCCM_Collection.psm1

-Modified Get-SCCMCollection : remove the pipeline to the where-object and adding filtering on the Get-WmiObject Query via the parameters QUERY or FILTER.

-Modified Get-SCCMCollectionMembers : remove the pipeline to the where-object and adding filtering on the Get-WmiObject

-Modified Get-SCCMCollectionSettings : remove the pipeline to the where-object and adding filtering on the Get-WmiObject
Update SCCM_Advertisement.psm1

-Modified Get-SCCMAdvertisement: Added filtering/querying to the Get-WMIobject cmdlet instead of using the pipeline
-Modified Get-SCCMAdvertisementsForPackage: Added filtering/querying to the Get-WMIobject cmdlet instead of using the pipeline
Update SCCM_Folder.psm1

-Modified Move-ObjectToContainer: Added Filtering on Get-WMIObject
Update SCCM_Package.psm1

Improve the Get-WMIObject Query/Filtering for the following Functions:
Get-SCCMPackage
Get-SCCMProgram
Remove-SCCMPackageFromDistributionPoint
Get-SCCMDistributionPoints
Merge pull request #1 from lazyadmin/master

Get-WmiObject Filtering and Querying improvements