I have a deployment that has multiple application specific config files that can be specified on the commandline. One config file per department. So I was wondering if multiple Deploy-Application.ps1 files could be created and executed from Deploy-Application.EXE
like Deploy-Application.EXE Deploy-ApplicationDEPT1.ps1
I have the commandline with the application specific config file embedded in the Deploy-Application.ps1 and finding this isn't working out so well when I move to the second department deployment.
I have configured the Deploy-Application.ps1 to have a commandline like:
Execute-Process -FilePath "Installer.exe" -Arguments "/Silent /ProfilePath \\server\share\configfile01.config"
I added this in case someone had an idea of another way to approach this.