Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Hey, Scripting Guy! Can I Create a GUI for a Windows PowerShell Script?

 (image) Hey, Scripting Guy! I know this may sound like a strange question, but I would like to create a graphical user interface for a Windows PowerShell script. I could do these kinds of things using a HTML Application (HTA) file, but I like writing Windows PowerShell scripts. If I could use some sort of functionality that would create ...

Hey, Scripting Guy! How Can I Have Computer Configuration Information Written to an HTML File?

(image) Hey, Scripting Guy! I need to obtain some basic configuration information from my computers on the network. It would be nice if the script would write the output in an HTML file that we could copy to our internal Web server. This would give us easy access to the information. Whadda ya say?- JE(image) (image) Hi JE, This morning, it...

Hey, Scripting Guy! How Can I Create an HTA to Do Temperature Conversions?

(image) Hey, Scripting Guy! I read with interest your "blog from down under," and I was interested in your function that converts Fahrenheit to Celsius. My wife and I are going on vacation to Germany, and I want to be able to do metric conversions. The problem, however, is that I do not want to install Windows PowerShell on my wife's laptop...

Hey, Scripting Guy! How Can I Load a Drop-Down List From a Text File?

(image) Hey, Scripting Guy! I have a text file that has a list of different store numbers and I would like to be able to populate a drop down list of an HTA.-- MH(image) (image) (image) Hi MH, The basic task of reading data from a text file and using it to populate a drop-down list is pretty straightforward. Below is the code for an HTML ...

Hey, Scripting Guy! How Can I Apply a Timeout to an InputBox?

(image) Hey, Scripting Guy! I know that, by using the WSH Popup method, you can time out a message box. Is it possible to do something similar with the InputBox function?-- JR(image) (image) (image) Hey, JR. Greetings from sunny Florida! Well, at least we assume it’s sunny Florida; it’s late Sunday night as the Scripting Guy who writes...