In the "Build Options" section, there are options to run "Pre-Build Commands" and "Post-Build Commands." So far, I've figured out how to run .BAT files using these options, but I would like to be able to run PowerShell scripts as well.
Thanks,
Curt
PowerShell Studio Request - Run PowerShell scripts in "Pre-Build"Post-Build"
Forum rules
Do not post any licensing information in this forum.
Do not post any licensing information in this forum.
Re: PowerShell Studio Request - Run PowerShell scripts in "Pre-Build"Post-Build"
Hi Curt,
you can run a powershell script by running powershell.exe with the -File parameter. Example:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File "C:\ExampleFolder\Example.ps1"
Cheers,
Bosparan
you can run a powershell script by running powershell.exe with the -File parameter. Example:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File "C:\ExampleFolder\Example.ps1"
Cheers,
Bosparan