Powershell: Script for creating a menu selection in the console

posted in: Blog, Powershell | 1

This is the second blog post about Powershell and there will most likely be a lot more because, frankly, Powershell is awesome 🙂

If you are creating a script and want the user to be able to select between different choices, you can either have a pop up or use a menu selection in the console. I prefer a menu selection in the console.

You can add more choices than two if you have the need to.

Download: console_menu.zip

  1. Tom

    awesome script. however, I added some options and for a couple of my menu options it puts them on the same line.

    Is there any way to add line breaks between menu choices? Thanks in advance.

Leave a Reply