Home > Windows Systems Management Tips > > Scriptomatic utility from Microsoft helps write WMI scripts
WinComputing Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Scriptomatic utility from Microsoft helps write WMI scripts


Serdar Yegulalp, Contributor
12.14.2005
Rating: -4.50- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


The Windows Management Instrumentation (WMI) lets you access a virtual treasure trove of system information and settings through scripts or programs. VBScript, Python, Perl and JScript all have methods to access WMI information, but the sheer number of methods – not to mention their cryptic nomenclatures -- can leave people baffled. It's a shame that something as powerful as WMI should be without tools to help people make the most of it.

A while back, engineers at Microsoft created a tool called Scriptomatic to make life easier for people who wanted to write WMI scripts. Despite its limitations, the tool gained quite a following. Now Microsoft has released a new version, Scriptomatic 2.0, with even broader language support and new output options for the generated scripts.

The program itself runs as an HTML application (hence the .HTA extension on the file). Once it finishes loading, select a WMI namespace and class from the dropdowns in the lists at the top of the window, and then select a language and output format from the radio buttons on the right. The output format changes what the script itself produces -- output choices include command-prompt, plain-text, HTML, Excel and XML formats.

To change the name of the target computer for the script, specify one or more machine names in the box at the bottom, separated by commas. The resulting script can be saved as a file or simply copied and pasted into an editor somewhere else, and modified freely. The language for the script itself can be VBScript, Perl, JScript or Python; VBScript is the default, but that can be changed by editing the application's internal settings. (For how to do this, you'll need to see the documentation, which, I should mention, is extremely funny ... proving that just because something comes from Microsoft, it doesn't have to be devoid of humor.)


Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators -- and please share your thoughts as well!


More information from SearchWinSystems.com

Rate this Tip
To rate tips, you must be a member of SearchWinComputing.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Windows Management Instrumentation (WMI) Scripting
Windows scripting secrets for disk quota management
Windows scripting tutorials for systems administrators
Filtering output from Windows PowerShell
Working with WMI providers to PowerShell
Vista's Windows kill switch: What to do if RFM kicks in
Scripting School: Why you should care about Windows PowerShell
Defrag script for all volumes
Christa Anderson's Scripting School for Windows administrators
Microsoft tool exposes WMI namespaces and properties
Microsoft utility helps admins diagnose WMI services

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsWebcastsWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts