While it’s normally best practice to not display anything on the host and to batch as much as possible with PowerShell; sometimes you need a UI. Here’s a pair of functions to display a menu on the screen, automatically number the possible responses and only return when a valid choice is made. Continue reading “PowerShell: Display A Menu And Get a Valid Choice”