I generally use Scriptomatic Tool for samples of WMI queries using VBscripts. It is useful and servers the purpose in many conditions. But I decided to stop using it…because, I am impressed with Microsofts new Tool “WMI Code Generator” — yay.. :-)
It is really a rich version of Scriptomatic tool. Using WMI code generator, you can generate scripts for specific property, work with wmi events, and many more along with wmi code samples.
It helps you to,
- Get samples codes for all WMI classes
- Has the capability to generate code for selected properties
- Supports and WMI methods execution
- Supports WMI events code generation
- Browsing WMI made easy
- More importently, you can run this with normal user account and no installation is required. In case of scriptomatic, you should use administrator account to run it.
So, don’t miss it…
Download:
Download link is here..
Reference :
http://blogs.technet.com/askperf/archive/2010/02/02/two-minute-drill-wmi-code-creator.aspx
Happy Learning..,
Sitaram Pamarthi
“I have a GPO GUID and want to know to which GPO this belongs to?”. If that is your question, you can happily use the below method. For this you need to have “support tools” of Windows 2003. You can get it from Microsoft Web Site as well. Alternatively, you can copy search.vbs from any machine where support tools package is installed.
cscript /nologo search.vbs “LDAP://dc=mydomain,dc=com” /C:”&(objectClass=groupPolicyContainer)(name={31B2F340-016D-11D2-945F-00C04FB984F9})” /P:displayName /S:SubTree
Happy Learning..,
Sitaram Pamarthi
tags:how to find GPO name, GPO GUID to name resolution
When I was with my old organization, we used to deploy operating system with the help of Ghost — an imaging technique. So, after completing the imaging process, we used to run newsid.exe to make the new installation unique in environment.
But surprisingly, the author of newsid has taken a decision to retire that decade old utility. Believe me, it is no more available at any MS websites. MS suggesting it’s customers to user sysprep instead of newsid as sysprep does lot more things which newsid will not.
You can refer to below URL to know reasons behind it’s retirement.
http://blogs.technet.com/markrussinovich/archive/2009/11/03/3291024.aspx
Happy Learning..,
Sitaram Pamarthi