February 2012

A simple VB like InputBox/Prompt function for PowerShell

In the last few weeks, I have written a good number of PowerShell scripts that accept input from the user in the form of traditional prompt boxes (e.g. in one situation, I needed the user to enter Sql connection string to execute custom actions against a database). And it appeared to me it might be useful to share the function to produce a simple prompt box in PowerShell.

So without wasting much time, here's the function:


Windows - Task Scheduler can start programs at system startup or user logon

Some weeks ago, I had installed BitVise's WinSSHD server on my primary SVN server machine to enable secure remote access. After the installation, I was noticing that WinSSHD's Control Panel would start up automatically when I login to the machine.