This is an archive version of the document. To get the most up-to-date information, see the current version.

Capturing Script Errors and Warnings

To log any custom script information into step details and execution reports, make sure to use the Write-Host cmdlet in the script. To indicate errors and warnings occurred during script execution and to pass this data to VAO, make sure to use the Write-Error and Write-Warning cmdlets in the script. This will post script output in the VAO UI, and also in Plan Execution and DataLab Test reports.

If no errors and warnings occur during script execution, VAO will report the Success execution state. Otherwise, in case a number of warnings and errors occurs, VAO will report the worst state.

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.