You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set-PSFConfig-FullName dbops.security.encryptionkey -Value "~/.dbops.key"-Initialize -Description "Path to a custom encryption key used to encrypt/decrypt passwords. The key should be a binary file with a length of 128, 192 or 256 bits. Key will be generated automatically if not exists."
146
172
Set-PSFConfig-FullName dbops.security.usecustomencryptionkey -Value ($PSVersionTable.Platform-eq'Unix') -Validation bool -Initialize -Description "Determines whether to use a custom encryption key for storing passwords. Enabled by default only on Unix platforms."
147
173
Set-PSFConfig-FullName dbops.rdbms.type -Value 'SqlServer'-Validation connectionType -Initialize -Description "Assumes a certain RDBMS as a default one for each command. SQLServer by default"
148
-
Set-PSFConfig-FullName dbops.package.slim -Value $false-Validation bool -Initialize -Description "Decides whether to make the packages 'slim' and omit module files when creating the package. Default: false."
174
+
Set-PSFConfig-FullName dbops.package.slim -Value $false-Validation bool -Initialize -Description "Decides whether to make the packages 'slim' and omit module files when creating the package. Default: `$false"
175
+
Set-PSFConfig-FullName dbops.config.variabletoken -Value "\#\{(token)\}"-Validation tokenRegex -Initialize -Description "Variable replacement token. Regex string that will be replaced with values from -Variables parameters. Default: \#\{(token)\}"
{ $result=Invoke-DBOQuery-Query $query-SqlInstance localhost:6493-Credential $script:mssqlCredential-ConnectionTimeout 1} | Should throw"The server was not found or was not accessible"
203
+
{ $result=Invoke-DBOQuery-Query $query-SqlInstance localhost:6493-Credential $script:mssqlCredential-ConnectionTimeout 2} | Should throw"The server was not found or was not accessible"
196
204
}
197
205
It "should fail when parameters are of a wrong type" {
0 commit comments