Get-BuildError
September 18, 2025 ยท View on GitHub
Gets the specified task error.
Syntax
Get-BuildError [-Task] String
Description
The specified task is usually safe referenced in the build (?name) and a
caller (usually a downstream task) gets its potential error for analysis.
Parameters
-Task
Name of the task which error is requested.
Required? true
Position? 0
Outputs
Error
An error or null if the task has not failed.
Links
Add-BuildTask