Hi All,
I'd like to call the following CMD command in Powershell with these parameters: svr1, svr2, db1, db2 and the script file name. Any help is appreciated. Thank you.
C:\OCDB.exe CN1="Data Source=svr1;Initial Catalog=db1;Integrated Security=SSPI;" CN2="Data Source=svr2;Initial Catalog=db2;Integrated Security=SSPI;" F="C:\script.sql"