Running a local program using PowerShell

Hi all. Nice to get back :slight_smile:
I have started to look for solutions in Powershell by my own, in order to deepen my knowledge. However since I am not cosinder as a Pro - I have some difficulties doing thing.
My first chalnge seems to be easy I guess: To write a “code”, which the user will have to select 1out of 2 options where every option has its own installation.
I tried all kind of conditional sentences but none worked.
Maybe can anyone know a site which will be able to teach me these kind of things,

Thank you in advanced :slight_smile:

Something like this?

… or this?