How can we help you today? How can we help you today?

Can Compare be used with a WhatIf/Confirm command?

Hi,

I have been working with using Compare in PowerShell, and I was just introduced to the WhatIf and Confirm commands. I figured I might try playing around with Compare and those commands since they seemed like they may be pretty useful, but I wasn't able to get any results out of it. Is there a way that SQL Compare can be used with those commands?

Thanks,
Zach
MKZeke
0

Comments

1 comment

  • Andrew P
    Hey MKZeke,

    Thanks for your post!
    Compare command line does not support -whatif and -confirm commands- those commands are part of the Powershell cmdlet framework and Compare was not made using the framework.
    That would probably be a useful thing to implement in the future, and you can request it here https://redgate.uservoice.com/forums/141379-sql-compare

    Kindly,
    Andrew P
    0

Add comment

Please sign in to leave a comment.