Archive for the 'winadmin' Category

waSendKeys: new Winadmin script

winadmin tools
Over on the brand new, freshly painted Winadmin scripts site:
waSendKeys.wsf 1.0 was just released.

This one will start a program and send keystrokes to it. Use it to automate programs that only have an interactive user interface and do not support command-line parameters: defrag tools, export to CSV/HTML, … You can also use this script in a scheduled task!

Examples:
waSendkeys D:\foo.exe /wait:20 /keys:"{F9};^R;test;{ENTER};%{F4}"
:: will send F9, CTRL+R, “test”, ENTER And ALT-F4

If you're new here, you may want to subscribe to my RSS feed or receive updates via email. Thanks for visiting!

Beware: activity on winadmin.sourceforge.net !

I just created a new WinAdminscript to do XSL Transforms, and while I was at it, also updated some older scripts.

The results:Winadmin Utilities

  • waXslt (NEW): to perform an XSL Transform on an XML file
  • waNoCaps (UPDATED): the most popular - and the simplest - of all my utilities, to disable your CAPSLOCK key
  • waRmZip (UPDATED): 2nd most popular, to clean up folders by deleting, moving, rotating or compressing files.
  • waTemplate (UPDATED): WSF template script, includes parameter parsing, logging

I’m working on a script for conversion of files to Movable Type import format for import in BlogWare/TypePad. More on that later!

waCluster - newest sibling in the waUtils/WinAdmin family

I’ve just finished waCluster.wsf 1.0 - a script for managing Network Load Balancing on Win2K servers.
It takes care of stopping/starting load-balanced ports, related services.

How easy is this for performing a rolling upgrade on a web server?

waCluster RESTART /wlbs:all /svc:iis /wait:300