Skip to content

Instantly share code, notes, and snippets.

@alevyinroc
Last active January 21, 2025 10:52
Show Gist options
  • Save alevyinroc/0b1755cf6fa7bdebc9fb40714024f039 to your computer and use it in GitHub Desktop.
Save alevyinroc/0b1755cf6fa7bdebc9fb40714024f039 to your computer and use it in GitHub Desktop.
Compare-Object -ReferenceObject (Get-DbaSpConfigure -SqlInstance Test1;) -DifferenceObject (Get-DbaSpConfigure -SqlInstance PROD -SqlCredential (get-credential -Message "Prod" -UserName MySQLLogin)) -property ConfigName,RunningValue | Sort-Object ConfigName;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment