Install-Module -Name psake
Import-Module psake
Import-Module .\teamcity.psm1
Invoke-psake -nologo -docs .\default.ps1
Invoke-psake .\default.ps1 StartAzureStorageEmulator
Invoke-psake .\default.ps1 StartAzureStorageEmulator -properties @{"x"="1";"y"="2"}
- Task - main function to execute a step of your build script
- Depends - property that specify what the current step depends upon
- default - there must always be a default task that will get executed if no initial task is specified
- FormatTaskName - specifies how each step is displayed in the result window