If besides running the setup program there is some additional stuff you need to do before or after the actual setup, creating a Powershell script that does this job for you certainly is a good idea. Sure you can do almost everything with a batch file but... Powershell is the way to go nowadays! However, there are a few pitfalls when trying to make this work using Powershell. So let's get started...