https://www.petervanderwoude.nl/post/create-a-wql-query-setting-for-a-configuration-item-in-configmgr-2012-via-powershell/
Create a WQL query setting for a Configuration Item in ConfigMgr 2012 via PowerShell