We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 907f0b2 commit 5fc0153Copy full SHA for 5fc0153
1 file changed
functions/Set-PSDCConfiguration.ps1
@@ -107,9 +107,6 @@
107
}
108
109
110
- # Get the databases from the instance
111
- #$databases = Get-DbaDatabase -SqlInstance $SqlInstance -SqlCredential $SqlCredential
112
-
113
# Check if the database exists
114
if ($server.Databases.Name -notcontains $Database) {
115
@@ -159,8 +156,6 @@
159
156
Write-PSFMessage -Message "Database already contains objects" -Level Verbose
160
157
161
158
162
163
164
# Writing the setting to the configuration file
165
Write-PSFMessage -Message "Registering config values" -Level Verbose
166
Set-PSFConfig -Module PSDatabaseClone -Name database.server -Value $SqlInstance -Initialize -Validation string
0 commit comments