This Old Script

I’m very slowly revising my main web site. The upshot for now is that there is no direct link to my old script library. Many of my Mr. Roboto tools can be found on this page. Until I can finish the upgrade project, you can use this link, to take you directly to the old page.  Enjoy.

R.I.P. Mr. Roboto

MrRoboto I have some sad news to share today. The March 2010 Mr. Roboto column is to be the last.  It seems that REDMOND is revamping somewhat and my column is being retired.  But it has been a long run, and to be honest, the column has run its course.  I’ve been doing the column for several years, and the original Mr. Roboto, Don Jones, did it for awhile before then. So it’s probably time.

All of the past Mr. Roboto articles will remain available online. I expect to contribute to REDMOND in the future in other ways so I hope you’ll stay tuned. And (as far as I know now), my Prof. PowerShell columns will continue to be published on

I appreciate all the warm, and thoughtful comments over the years about the column. I hope it has helped in some small way at one time or another. I’ll continue the Mr. Roboto philosophy in other projects and this blog.

It will be nice to get out of this iron monkey suit.

Domo Arigato

Putting the Squeeze on Files with PowerShell

My December Mr. Roboto column is now online This month’s tool is a PowerShell WinForm script that uses WMI to compress files. I used PrimalForms 2009 to build the graphical interface. The interface is essentially a wizard that lets you build a WMI query to find files and compress them. 


Results can be logged to a CSV file or you can merely list the files that match the search criteria. Here’s a code excerpt.

The script has (I think) a nice example of providing popup help. Download

Thanks to Wes Stahler for being such a willing lab rat.

5 Minute PowerShell

My October Mr. Roboto column is now available online. The article contains my suggestions for how someone completely new to PowerShell might spend their first 5 minutes. Perhaps not literally, since I expect most people will want to spend more than 60 seconds on my suggested steps. But overall I thought my proposal was a reasonable approach. I wanted a 5 minute experience that would gently introduce Windows PowerShell. I know the thought of working from a command line or having to learn a new way of managing Windows is off-putting for many administrators. I wanted someone who had never seen PowerShell or a command prompt before to realize this isn’t a scary or necessarily complicated tool and that you can accomplish a great deal with minimal effort. Sure, I want people to buy books, training videos, attend classes and conferences etc., but I also want them to realize how much they can learn on their own. In fact let me add a few more suggested “minutes”.

Continue reading