<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Use the Like Operator to Simplify Your WQL Queries</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/07/13/use-the-like-operator-to-simplify-your-wql-queries.aspx</link><description>Learn how to simplify your WQL queries by using the like operator and special wildcard characters.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Use the Like Operator to Simplify Your WQL Queries</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/07/13/use-the-like-operator-to-simplify-your-wql-queries.aspx#3551736</link><pubDate>Mon, 11 Feb 2013 17:54:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3551736</guid><dc:creator>Ed Wilson</dc:creator><description>&lt;p&gt;@Robin I am glad the post helped you. Thank you so much for the feedback.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3551736" width="1" height="1"&gt;</description></item><item><title>re: Use the Like Operator to Simplify Your WQL Queries</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/07/13/use-the-like-operator-to-simplify-your-wql-queries.aspx#3551629</link><pubDate>Mon, 11 Feb 2013 10:56:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3551629</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;I am glad you posted this information. I was completely stuck with my scripts, I could not get the syntax right until I saw your article. Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3551629" width="1" height="1"&gt;</description></item><item><title>re: Use the Like Operator to Simplify Your WQL Queries</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/07/13/use-the-like-operator-to-simplify-your-wql-queries.aspx#3510679</link><pubDate>Tue, 24 Jul 2012 22:04:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3510679</guid><dc:creator>Ed Wilson</dc:creator><description>&lt;p&gt;@K_Schulte Yes, the syntax is actually called WQL --- even looks like SQL. Yes, it would be nice to have regular expressions, but WQL does not have the support. What you can do is run the WQL query, and then pipeline the results to a Where-Object and THERE you can use the Regex.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3510679" width="1" height="1"&gt;</description></item><item><title>re: Use the Like Operator to Simplify Your WQL Queries</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/07/13/use-the-like-operator-to-simplify-your-wql-queries.aspx#3510643</link><pubDate>Tue, 24 Jul 2012 20:09:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3510643</guid><dc:creator>K_Schulte</dc:creator><description>&lt;p&gt;Hi Ed,&lt;/p&gt;
&lt;p&gt;this is pretty much like SQL! And it is undoubtfully a feature to remember!&lt;/p&gt;
&lt;p&gt;I would go for having regular expressions to extend the possibilities.&lt;/p&gt;
&lt;p&gt;A match operator would have been great!&lt;/p&gt;
&lt;p&gt;Klaus.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3510643" width="1" height="1"&gt;</description></item><item><title>re: Use the Like Operator to Simplify Your WQL Queries</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/07/13/use-the-like-operator-to-simplify-your-wql-queries.aspx#3509582</link><pubDate>Wed, 18 Jul 2012 15:59:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3509582</guid><dc:creator>IamMred</dc:creator><description>&lt;p&gt;@JRV I am glad my posting got you thinking ... that is the point of a good blog post (at least in my mind). Yes, there are still a few WMI classes that do not seem to properly implement the wild card characters, but they are largely the exception ... Something I have not done ... that you might want to do ... is to do a literal filter, and a wild card filter ... and pipe the results to measure-object to see the performance difference. You will need to reboot between tests, to eliminate any caching ... In fact, I think I will write an article about that later.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3509582" width="1" height="1"&gt;</description></item><item><title>re: Use the Like Operator to Simplify Your WQL Queries</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/07/13/use-the-like-operator-to-simplify-your-wql-queries.aspx#3508974</link><pubDate>Sat, 14 Jul 2012 13:33:24 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3508974</guid><dc:creator>jrv</dc:creator><description>&lt;p&gt;Excellent article Ed. &amp;nbsp;I have never paid much attention to the match patterens other than the %. &amp;nbsp;Your article made me realize that I should not have ignored these pattern tools. &amp;nbsp;Unfortinately, way back whne, the pattenrs did not work reliably and I never thought to revisit them . &amp;nbsp;I will now.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3508974" width="1" height="1"&gt;</description></item></channel></rss>