Thursday, August 10, 2006
The Hey, Scripting Guy! Archive: Volume 1 (August 2004 - June 2006)
Tuesday, March 21, 2006
The WMI Diagnosis Utility
WMIDiag.vbs is a VBScript script designed to help you ascertain the current state of the WMI service on a computer. The download package includes the utility itself, a ReadMe file that discusses how the tool works (and how to best use it), and sample spreadsheets that provide information about the default WMI configuration on various versions of the Microsoft Windows operating system.Microsoft Download
Monday, August 08, 2005
WMI Code Creator v1.0
WMI Code Creator is an awesome tool for any TechNet guru, and free! Microsoft Download: The WMI Code Creator tool generates code that uses WMI to obtain management information or perform management tasks. You can use the tool to learn how to manage computers using WMI scripting and WMI .NET. The tool generates code that runs on the local computer, a remote computer, or a group of remote computers based on your selection from the Target Computer menu on the tool. You can also execute the generated code directly from the tool. The tool is meant to help IT Professionals quickly create management scripts and to help developers learn WMI scripting and WMI .NET. The tool helps take the complexity out of writing code that uses WMI and helps developers and IT Professionals understand how powerful and useful WMI can be for managing computers. Using the tool, you can query for management information such as the name and version of an operating system, how much free disk space is on a hard drive, or the state of a service. You can also use the tool to execute a method from a WMI class to perform a management task. For example, you can create code that executes the Create method of the Win32_Process class to create a new process such as Notepad or another executable. The tool also allows you to generate code to receive event notifications using WMI. For example, you can select to receive an event every time a process is started or stopped, or when a computer shuts down. The tool also allows you to browse through the available WMI namespaces and classes on the local computer to find their descriptions, properties, methods, and qualifiers. The code that creates the tool is also included in the download. The tool was created using WMI .NET, and the code for the tool can help developers understand how WMI .NET is used to create applications and manage information. Be sure to read the end-user license agreement that is included in the download.
Monday, July 11, 2005
Using WSH Scripts with MSN Desktop Search
Simon Guest has the following: I'm a great believer in "re-use but not repetition" and an avid fan of shortcuts that help me in my day-to-day work in front of the screen. Recently I've been looking at how WSH scripts combined with MSN Desktop Search can be used to save even more time. I thought I'd share three of my most used scripts… To use these, copy the snippet to a .VBS file and register as a shortcut.
Tuesday, March 08, 2005
Scripting and Microsoft Windows AntiSpyware (Beta)
You just installed Microsoft Windows AntiSpyware, and now you’re having difficulties with your scripts. Here’s some insight into what’s happening and what to do about it.
Saturday, January 22, 2005
A completely new version of the famous Scriptomatic, the utility that writes WMI scripts for you. (And, in the process, teaches you the fundamental concepts behind writing WMI scripts for yourself.) Unlike its predecessor, Scriptomatic 2.0 isn’t limited to writing just VBScript scripts; instead, Scriptomatic 2.0 can write scripts in Perl, Python, or JScript as well. In addition, Scriptomatic 2.0 gives you a host of new output formats to use when running scripts, including saving data as plain-text, as a stand-alone Web page, or even as XML. Scriptomatic 2.0 handles arrays, it converts dates to a more readable format, and it works with all the WMI classes on your computer; on top of all that, it also writes scripts that can be run against multiple machines.
Wednesday, December 08, 2004
New System Administration Scripting Guide
They scripting guys have added some really nice scripts into this CHM bundle. I haven’t had a chance to get a good look at all the scripts yet from what I have seen it looks like an invaluable resource.
D I Y Script Center Kit
The Do-It-Yourself Script Center Kit includes all the materials you need to create your own version of the TechNet Script Center, either as stand-alone Webpages, stand-alone .vbs files, or as a .chm Help file. Included in the Kit are a database of all the scripts found in the TechNet Script Center Script Repository, as well as helper scripts for creating Web pages, .vbs files, and .chm files. The Kit also includes instructions for using these helper scriptsDownload Here
Wednesday, November 10, 2004
Saturday, October 23, 2004
Found this entry on Brian Groth's Life at Microsoft:
For all you command-line freaks out there, I hope you know about Microsoft's scripting technologies. Hopefully you are also aware that web services is the hot new thing and is certainly a great way to architect solutions these days. So, combining those two things (WS+Script), here is how to call a web service from a command-line via scriptWeblog Entry