In order to view the video demos from VMWare 5.5, you’ll need to install a VMWare codec, until I get a chance to run them through something like Windows Movie Maker. You can download the free codec at http://www.vmware.com/download/ws/. Scroll to the bottom on the page. The AdminWeb Scripting video demos are at http://www.jdhitsolutions.com/tutorials.htm, as…
Category: Scripting
Techmentor: WMIC Examples
I didn’t get a chance to run through the WMIC examples. The Advanced VBScript book covers this topic in a little more detail. I also have a short PDF intro on WMIC you can download at http://www.jdhitsolutions.com/tutorials.htm Before you run any examples, you need to “install” WMIC. This basically means at a command prompt type…
Techmentor: FOR examples
The FOR command is one of the most important commands you can use as a Windows administrator. I have a short article on the command you can download at http://www.jdhitsolutions.com/tutorials.htm (grab the FOR Essentials link) . Here are few of the examples I used in the Commandline Script session. (By the way, if you’d like…
Techmentor: DSQuery and DSMod examples
During the command line scripting session, I demonstrated how to use the directory service command line tools like dsmod, dsquery and dsget. You can get syntax help by running ‘dsquery /?’ (or dsmod,dsadd,dsget). There’s a lot of help information so you’ll probably want to pipe the results using More (dsquery /? | more) You can…
Get Percent Free Space
I’ve put together a function that will return the percentage free space on a given logical drive for a specified server. The function in the following script is really doing all the hard work. The rest of the script is simply a demonstration on how to call the function. The script uses WMI and queries…
Chapter 5 Errata
Chapter 5 in Advanced VBScript for Microsoft Windows Administrators has some minor misinformation. The script in Listing 5-7 doesn’t work as you might expect it to. A zip file with corrected information and listing is available at http://www.scriptinganswers.com/portals/0/errata.zip If you uncover other issues or have questions or comments, please feel free to email me or…
Advanced VBScript is a Bookpool Best Seller
Thanks to all of you, Advanced VBScript for Microsoft Windows Administrators broke the 10 ten on Bookpool.com’s new releases best seller list. There is also a very nice review of the book at Amazon. We’d truly appreciate honest reviews at your favorite online bookseller. Some of you have asked about autographed copies, and that is…
FREE Advanced VBScript sample chapter
Microsoft Press was kind enough to provide a free, complete chapter from Advanced VBScript for Microsoft Windows Administrators. You can download the pdf at: http://www.jdhitsolutions.com/tutorials.htm
CLI 101 – FOR
I’ve long maintained that the FOR command is one of most basic commands every administrator should know. I have a short tutorial you can download at http://www.jdhitsolutions.com/tutorials.htm Here are some other examples on using the FOR command. Let’s say you have some command line utility that will take a computer name as a parameter, such…
Advanced VBScript will make you smart
I know this is a shameless plug, but I couldn’t resist.
Monad and Event logs
Here’s another nifty Monad example from The Lazy Admin on using MSH to review Event logs. Managing the Event Logs with MSH – The Lazyadmin.com
My first Monad Script
I’ve started testing the waters with the latest build of MSH/Monad. There is of course a nascent Monad script hub at the Technet Script Center. I took inspiration from there and came up with a quick shell script to display services in on the local system. Services that are running are displayed in Green and…
Advanced VBScript for Windows Administrators Published
According to my Microsoft Press project editor, Advanced VBScript for Microsoft Windows Administrators, is now published. Many online sellers are slowly updating their databases. You can now order the book although I can’t guarantee what the shipping situation might be. It might be 4-6 weeks before you see the book on a shelf at places…
Advanced VBScript book open for pre-orders
According to Microsoft Press, Advanced VBScript for Microsoft Windows Administrators, will be available for order beginning January 18, 2006. Bookpool has a pre-order link here which will save you 37% and I think free shipping. Here is the link for Borders/Amazon.
Finding Service Uptime
Ever wonder how long a particular service has been running? With WMI you can come pretty close to getting a handle on this. We start with Win32_Service to get the current process handle. Once we have that, we can query the Win32_Process class and get the creation time for that particular process. You need to…