Am creating a powershell script for Biztalk deployment. I wrote a normal try catch block to handle the exceptions during the deployment. My Code was able to catch the Exceptions like
# File Not Found
# Syntax Errors
But exception like Dependency applications needs to be installed before installing - was not getting caught. But when i check the Powershell console i can see..CommandExecuted with 1 Error.
Please Suggest how to handle these exceptions.
$ErrorActionPreference = "stop"on top of your script - Loïc MICHEL