Hello source,
You need understand that if you are working on 64bit CPU and windows in 32bit
that you can't detect 64bit CPU with WMI,
coz it's platform specific. You can type wmic.exe then type "cpu" in console
window to test it
s> Now I am trying to script using winmanagment object model and I
s> wanted to
s> find out that how do I make a script return a value
s> or if not then can it raise and error
s> so that
s> System.Diagnostics.Process.Exitcode can be anything other than 0
s> So if the DiagProcess returns a non zero value I will be able to make
s> a
s> decision
s> Any pointers will help.
s> source
s>
s> s>---
WBR,
Michael Nemtsev :: blog:
http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch