# Running a local program using PowerShell

**URL:** <https://forums.powershell.org/t/running-a-local-program-using-powershell/17259>\
**Category:** Training Resources\
**Created:** [August 9, 2021, 8:14am UTC](https://forums.powershell.org/t/running-a-local-program-using-powershell/17259 "2021-08-09T08:14:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![goldy\_a1](https://avatars.discourse-cdn.com/v4/letter/g/f17d59/32.png) [@goldy\_a1](https://forums.powershell.org/u/goldy_a1)\
**Post date:** [August 9, 2021, 8:14am UTC](https://forums.powershell.org/t/running-a-local-program-using-powershell/17259/1 "2021-08-09T08:14:16Z")

</div>

Hi all. Nice to get back 🙂  
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 🙂

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [August 9, 2021, 10:19am UTC](https://forums.powershell.org/t/running-a-local-program-using-powershell/17259/2 "2021-08-09T10:19:06Z")

</div>

Something like this?

> **[Back to Basics: Conditional Logic with PowerShell If-Else](https://adamtheautomator.com/powershell-if-else/)**
>
> Learn about the conditional logic construct - the PowerShell If-Else construct that allow scripters to formulate conditional logic.

… or this?

> **[Back to Basics: Understanding the PowerShell Switch Statement](https://adamtheautomator.com/powershell-switch/)**
>
> The PowerShell switch statement has more capability than most think. Learn all about this versatile statement in this article.
