The Scripts Every Project Has
A build.ps1 gathers a project's chores in one script, each task a function that -Task picks through a ValidateSet parameter and a switch; Get-Command checks that the tools the project needs are installed, and $ErrorActionPreference = 'Stop' with throw stops the script at the first problem.
Updated

- Category
- PowerShell
- Level
- Journeyman
- Tags
- build-script, erroractionpreference, get-command, powershell, throw, validateset