What are the challenges you face when working across database platforms? Take the survey

invoke SQL Compare using Power shell

YandeYande Posts: 1 New member
edited August 12, 2019 12:09PM in SQL Compare
I am Doing a Comparison of two Databases USING  SQL Compare and it is working well.How ever i need to invoke it using Powershell any powershell blue print script Available ? 


  • Options
    Tianjiao_LiTianjiao_Li Posts: 684 Rose Gold 5
    edited August 13, 2019 3:52PM
    Using SQL Compare in Powershell works the same way as in Command Prompt. Here is an example:

    & "C:\Program Files (x86)\Red Gate\SQL Compare 13\sqlcompare.exe" /s1:yourServer /db1:demo1 /s2:yourServer /db2:demo2
    Kind regards

    Tianjiao Li | Redgate Software
    Have you visited our Help Center?
Sign In or Register to comment.