Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

WMI Query with WHERE clausule string ending with dot(.)

$
0
0

Hello,

i am doing SCCM task sequence with WMI Query to recognize BaseBoard. It is working on many Products with this query. But ASROCK have some Motherboard called somethink R2. If i do wmi query in system i get for exampkle "G31M-S." and problem is the dot at the end of string. I am using query

SELECT * FROM Win32_BaseBoard WHERE Product = "G31M-S."

And it is not returning data. But on different systems without dot ending is this working correctly

Thanks,

Rudolf Dvorak


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>