I am writing a PowerShell script where in I need to capture the error message that it\'s throwing. Note: according to PowerShell, there is no error and command is executed s
Assuming your executable is named svn.exe and is on the path, you can capture the messages it sends to console this way:
$msg = [string] (svn.exe )
You can then parse the $msg string to find information you need.