How can I get the exit code from running SqlDataCompare in PowerShell?

We need to know if the data compare synchronization was successful for a database before synchronizing the next database.
How can I get the exit code to see if there was a problem? And if there was no difference, is this considered a failure?

Answers

Sign In or Register to comment.