Press "Enter" to skip to content

Initialize-Choice over Read-Host

Shane O’Neill says you don’t have to put on the read-host:

So, automation is nearly non-existent right now on my tasks. But, when I got asked if there was an easier way to get user input; taking into account bad answers, shortcuts, default options, etc., rather than using a plethora of Read-Host commands and double-checking the user input, well…

Read on to learn what Shane came up with.