"I was afraid from WMIUntil I found Microsoft (R) Management Strongly Typed Class Generator - MgmtClassGen.exe
Microsoft (R) Management Strongly Typed Class Generator Version 1.1.4322.573
Copyright c Microsoft Corporation 1998-2002. All rights reserved.
MgmtClassGen
/N
/O
/L
CS - CSharp(C#)
VB - Visual Basic
JS - JScript
/P
/M
/U
/PW
/? Displays this help screen
Example :
MgmtclassGen Win32_Logicaldisk /L VB /N root\cimv2 /P c:\temp\logicaldisk.vb
You can find it under you sdk bin directory, so instead of figuring out the properties of the objects you get a strongly type object to work with."
Very Cool
(via Yosi Taguri's WebLog)
No comments:
Post a Comment
NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...
ALL comments are moderated. I will review every comment before it will appear on the blog.
Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...
I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...
Please see my comment policy for more information if you are interested.
Thanks,
Greg
PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...