Created
November 14, 2016 18:23
-
-
Save Alex-Yates/d5dd22f213d2c61827458020e794949a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script uses cmdlets from Redgate DLM Automation, which is part of the SQL Toolbelt | |
# Documentation for these cmdlets is available at: | |
# https://documentation.red-gate.com/display/DLMA2/Cmdlet+reference | |
$sourceCode = "Documents/Ponies_dev/state" | |
$twilightSparkleDb = New-DlmDatabaseConnection -ServerInstance "myServer\myInstance" -Database "TwilightSparkle" | Test-DlmDatabaseConnection | |
$filterPath = "Documents\Ponies_dev\filters\TwilightSparkle.scpf" | |
Sync-DlmDatabaseSchema -Source $sourceCode -Target $twilightSparkleDb -filterPath $filterPath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment