Simone Bizzotto

Results 197 comments of Simone Bizzotto

seems a mismatch here ``` [ValidateSet('Mandatory', 'Optional', 'Strict', 'True', 'False')] [switch]$EncryptConnection = (Get-DbatoolsConfigValue -FullName 'sql.connection.encrypt'), ``` ![image](https://github.com/dataplat/dbatools/assets/122119/09c47d1d-f491-45c0-905b-2c0cdab5160d) first, can a switch be validated as a set ? don't think so,...

in my mind, at veeeery high level, the point stems from the fact that a switch cannot accomodate the newer library options. So, for a low-level thing like new-dbaconnectionstring, MAYBE...

IMHO we need to reconvene on that point (with the usual suspects, maybe in slack, too). It seems that MS is shifting towards the enum (and keeping it) rather than...

> looks like a duck, swims like a duck, and quacks like a duck, so it's probably a *bug*. I concur with @rupsan04 fix but I'm wary around import.ps1, @potatoqualitee...

I concur that *some* work can be done in this area, but I also feel that trying to use the exact same description for every function could cut useful infos...

What’s your “$src” ? From: Venkat20241985 ***@***.***> Sent: Wednesday, May 15, 2024 11:11 To: dataplat/dbatools ***@***.***> Cc: Subscribed ***@***.***> Subject: [dataplat/dbatools] [Get-DbaDbBackupHistory] Failure | The value's length for key 'Data...

Did you try using a simple string rather than a variable ? “data source” is the place in the connection string where the hostname lives. From: Venkat20241985 ***@***.***> Sent: Wednesday,...

closing this, feel free to reopen in case you need more help

maybe https://github.com/dataplat/dbatools.library/pull/15 fixes this, too.

hum.... not sure SMO supports creating jobs in CAGs . does it work via SSMS ?