Created
January 24, 2019 17:52
-
-
Save nvarscar/08fd4e73b9ba9891ba847f67fc33cde0 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
# install a DBOps package to the MySQL server | |
Install-DBOPackage -Type MySQL -Server localhost -Database mydb -Path .\package.zip | |
# invoke a query against a remote PostgreSQL server | |
Invoke-DBOQuery -Type PostgreSQL -SqlInstance pgsql1:5432 -Database mydb -Query 'SELECT current_database();' | |
# change the default connection -Type (SQLServer) to PostgreSQL: | |
Set-DBODefaultSetting -Name rdbms.type -Value 'PostgreSQL' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment