![]() ![]() # the path of the application project file # specifies variable for ApexSQL Diff’s CLI switches # specifies variable for current date and time that will be used as time stamp for HTML report and output file $today= (Get-Date -Format “MMddyyyy_HHmmss”) # specifies variable for path to the CLI executable file of ApexSQL Diff "ApexSQL Diff return error code is $LASTEXITCODE" > "Output_$today.txt"Įxplanation of the above PowerShell script: $diffLocation = “ApexSQLDiff” (Invoke -Expression ("
0 Comments
Leave a Reply. |