Releases: dataplat/dbatools
v2.1.16
What's Changed
- Install-DbaInstance: Enable Instant File Initialization using setup.exe parameter by @andreasjordan in #9358
- Invoke-DbaDbLogShipping: Remove Credential from New-Item by @andreasjordan in #9359
- Backup-DbaDbMasterKey - Output filename property with file extention by @andreasjordan in #9360
- ConvertTo-DbaDataTable handle Dataplat.Dbatools.Utility.DbaDateTime as an array by @jpomfret in #9361
- Write-DbaDbTableData - Fail AutoCreateTable if no column definition available by @andreasjordan in #9362
Full Changelog: v2.1.15...v2.1.16
v2.1.17
What's Changed
- Import Tests - Add macos 14, which is arm64 by @potatoqualitee in #9365
- better docs rendering, aligned with docs page by @niphlod in #9377
- Install-DbaFirstResponderKit - Use new script names by @andreasjordan in #9372
- Get-DbaProcess: Fix for empty most_recent_sql_handle by @andreasjordan in #9375
- Support OwnerLoginName in New-DbaAgentSchedule by @david-garcia-garcia in #9370
- Connect-DbaInstance: Fix problems with DAC by @andreasjordan in #9376
- New-DbaAgentJobStep: Fix for using DatabaseUser by @andreasjordan in #9380
Full Changelog: v2.1.16...v2.1.17
v2.1.15
What's Changed
- Update Set-DbaNetworkCertificate to work with PowerShell Core when using RSA certificates by @mwilsonin in #9342
- New Support for Contained Availability Groups by @serenefiresiren in #9345
- Backup-DbaDatabase : add a new switch parameter "NoAppendDbNameInPath" to prevent dbname systematically appended at the end of backup path by @rferraton in #9348
- New-DbaAvailabilityGroup: Add support for contained availability groups by @DorBreger in #9352
- ConvertTo-DbaDataTable - Fix DbaDateTime issue by @potatoqualitee in #9353
- Update dbatools-buildref-index.json SQL 2022 CU13 by @MikeyBronowski in #9354
New Contributors
- @mwilsonin made their first contribution in #9342
- @serenefiresiren made their first contribution in #9345
- @rferraton made their first contribution in #9348
- @DorBreger made their first contribution in #9352
Full Changelog: v2.1.14...v2.1.15
v2.1.14
Update dbatools library to update RestSharp which had the previous CVE.
Full Changelog: V2.1.13...v2.1.14
V2.1.13
This is the official Andreas Jordan release 😅
What's Changed
- Get-DbaProcess - Add information about endpoint and DAC by @andreasjordan in #9304
- Connect-DbaInstance - Connect DAC to test connection as soon as possible by @andreasjordan in #9305
- Install-DbaInstance - Fix issue with MachineLearning by @andreasjordan in #9312
- Update buildref by @potatoqualitee in #9323
- Copy-DbaCredential - Force DAC as it is needed for decryption by @andreasjordan in #9306
- Get-DbaStartupParameter - Remove fixed typing of variables that may change their type by @andreasjordan in #9309
- Set-DbaTcpPort - Support multiple ports by @andreasjordan in #9310
- Install-DbaDarlingData - Include new procedures by @andreasjordan in #9311
- Update-SqlPermission (used by Copy-DbaLogin) - Fix for using LoginRenameHashtable together with user different to login by @andreasjordan in #9313
- Backup-DbaDatabase - Use Stop-Function to support EnableException for unverified databases by @andreasjordan in #9317
- New-DbaComputerCertificate - Only use MonthsValid for self-signed certificates by @andreasjordan in #9318
- Update dbatools-buildref-index.json SQL2019 CU26 by @MikeyBronowski in #9324
- Add-DbaDbRoleMember - Add support for adding roles to roles by @andreasjordan in #9319
- New-DbaDbTable - Fix some issues by @andreasjordan in #9314
- Connect-DbaInstance - Open connection to get CurrentDatabase by @andreasjordan in #9308
Full Changelog: v2.1.12...V2.1.13
v2.1.12
What's Changed
- Get-DbaBackupInformation is not reading values for "IsCopyOnly" attribute. by @david-garcia-garcia in #9294
- Update-ServiceStatus - fix cross-domain issue by changing ComputerName to PSComputerName by @fuixx217 in #9288
- Get-DbaLogin - clean up old code causing issues by @jpomfret in #9291
- change splatting to remove
from docs by @jpomfret in #9292 - Find-DbaInstance, help more markdown-compatible by @niphlod in #9299
- Add-AgDatabase, shorter Example by @niphlod in #9298
New Contributors
Full Changelog: v2.1.11...v2.1.12
v2.1.11
What's Changed
- changed casing on contributing.md by @KennyNeal in #9269
- Export-DbaServerRole: Fix case in sql to fix issues on case sensitive instances by @andreasjordan in #9271
- Install-DbaInstance - Enable installation in root folder by @andreasjordan in #9272
- Update Format-DbaBackupInformation.ps1 by @0x7FFFFFFFFFFFFFFF in #9277
- Select-DbaBackupInformation - fixed example by @0x7FFFFFFFFFFFFFFF in #9276
- Remove-DbaReplSubscription - Typo fix in Synopsis by @DiHo78 in #9279
- buildref: included CU12 for 2022 by @niphlod in #9278
- Get-DbaReplPublication - fix example by @DiHo78 in #9274
Full Changelog: v2.1.10...v2.1.11
v2.1.10
THIS RELEASE ADDRESSES TWO CVE'S
This update addresses two CVE's, one in Microsoft.Data.SqlClient and one in Azure.Identity. Thanks to @garyhampson for the update on dbatools.library dataplat/dbatools.library#7
See this announcement from Microsoft for more details.
Essentially:
If you are using Microsoft.Data.SqlClient, anywhere (.NET Core, .NET 6/7/8, .NET Framework) and you are using a version that is vulnerable you must update your NuGet package reference to an updated version: 2.1.7, 3.1.5, 4.0.5, or 5.1.3
An updated version of Microsoft.Data.SqlClient, version 5.1.4, was also released that upgrades the Azure.Identity dependency version to 1.10.3 , which addresses CVE-2023-36414 in that library. (release notes) (download)
What's Changed
- Added documentation for PR #6777 (Query Store Set and Get functions shouldn't try to get data from model) by @ReeceGoding in #9266
- Skip Failing Replication Tests by @potatoqualitee in #9268
- update dbatools library by @potatoqualitee in #9267
- Install-DbaMaintenanceSolution does not work inside a container by @david-garcia-garcia in #9252
New Contributors
- @david-garcia-garcia made their first contribution in #9252
Full Changelog: v2.1.9...v2.1.10
v2.1.9
What's Changed
- Project readme update - update command count reference by @0x7FFFFFFFFFFFFFFF in #9228
- Fix minor typo in CONTRIBUTING.md by @ben-thul in #9260
- fix: Set-DbaAgentSchedule should check for not null on enddate by @lowlydba in #9257
- Copy-DbaCredential: Fix for credentials with square brackets in it's name - Issue #9242 by @ibaxo in #9243
- New-DbaComputerCertificate, options for Algorithm and Period validity by @daniel-merchant in #9264
- Multiple Functions - Remove Stop-Function ErrorRecord parameter use outside of try-catch blocks by @0x7FFFFFFFFFFFFFFF in #9227
- Restore-DbaDatabase - improve warning output for standby mode databases by @0x7FFFFFFFFFFFFFFF in #9230
New Contributors
Full Changelog: v2.1.8...v2.1.9
v2.1.8
What's Changed
- Update dbatools-buildref-index.json SQL 2019 cu25 by @MikeyBronowski in #9244
- Update Get-DbaWaitStatistic.ps1 to be in sync with the Paul Randal script it copies from (fixes 9251) by @ReeceGoding in #9249
- Invoke-DbaQuery, fixed example for TVP by @niphlod in #9247
New Contributors
- @ReeceGoding made their first contribution in #9249
Full Changelog: v2.1.7...v2.1.8