Releases: dataplat/dbatools
Releases · dataplat/dbatools
v2.7.27
What's Changed
- Latest CUs for 2022 and 2025 by @niphlod in #10231
- Add Test-DbaInstantFileInitialization command by @andreasjordan in #10236
- Add-DbaAgDatabase, New-DbaAvailabilityGroup - auto-copy TDE certificate to replicas by @andreasjordan in #10237
- Get-DbaRegServer - Fix IncludeSelf to return pipeline-compatible object by @andreasjordan in #10238
- Get-DbaLastBackup - Add -ExcludeReplica switch for AlwaysOn preferred backup replica filtering by @andreasjordan in #10240
- Export-DbaInstance - Wire up IncludeDbMasterKey to export certs and master keys by @andreasjordan in #10251
- New-DbaAgentJobStep - Fix OnFailAction ValidateSet order to match actual default by @andreasjordan in #10244
- Set-DbaDbCompression - Add SortInTempDB parameter and fix views T-SQL bug by @andreasjordan in #10248
Full Changelog: v2.7.26...v2.7.27
v2.7.26
What's Changed
- speedup dependency detection for integration tests by @niphlod in #10179
- Minor test fixes for Connect-DbaInstance by @andreasjordan in #10175
- Add command Test-DbaNetworkCertificate by @andreasjordan in #10178
- Get-DbaDbTable: Fix for Azure SQL Database by @andreasjordan in #10182
- Test-DbaLsnChain: Fix bug in case log backup is taken during full backup by @andreasjordan in #10185
- Backup-DbaDatabase: Respect explicit FileCount when using StorageBaseUrl (S3/Azure) by @andreasjordan in #10186
- Copy-DbaDatabase: Fix renaming for database names with special characters by @andreasjordan in #10187
- Start-DbaDbEncryption: Add missing parameter and fix documentation by @andreasjordan in #10191
- Import-DbaCsv - Fix RFC 4180 multiline quoted field handling by @mbentham in #10190
- Import-DbaCsv: Add -NoColumnOptimize switch by @mbentham in #10195
- Test-DbaLsnChain: Fix bug when reading history from file by @andreasjordan in #10201
- Get-DbaAgentJob and Sync-DbaAvailabilityGroup: Move filter for MSX jobs to the command that needs it by @andreasjordan in #10198
- Test-DbaBackupInformation: Add member IsVerified to output if not already present by @andreasjordan in #10200
- Connect-DbaInstance: Use localhost for dedicated admin connections to avoid multiple IP resolution on multi-homed servers by @andreasjordan in #10199
- Export-DbaLogin: Add -IncludeRolePermissions switch by @mbentham in #10196
- Get-DbaUserPermission: Fix incorrect schema name shown as 'STIG' by @andreasjordan in #10210
- Export-DbaInstance: Propagate -EnableException to sub-commands and wrap exports in try-catch by @andreasjordan in #10211
- Get-DbaReportingService: Use Credential in every call to Get-DbaCmObject by @andreasjordan in #10207
- New-DbaLogin: add ExternalGroup support and SQL Server 2022 Entra login handling by @andreasjordan in #10225
- Get-DbaStartupParameter: Fix multiple issues by @andreasjordan in #10208
- Test-DbaKerberos: Remove CNAME test by @andreasjordan in #10209
- Update-DbaInstance: Fall back to computer name if Resolve-DbaNetworkName fails by @andreasjordan in #10212
- New-DbaDbMailProfile - Fix to allow multiple accounts per profile by @andreasjordan in #10214
- Connect-DbaInstance: Auto-retry with Initial Catalog=master for mirrored SQL Server instances by @andreasjordan in #10215
- Export-DbaScript: Handle Distributed Availability Groups gracefully by @andreasjordan in #10216
- Get-DbaReplSubscription: Also check distribution DB for pull subscriptions missing from syssubscriptions by @andreasjordan in #10218
- Invoke-DbaDbLogShipping: Add -IgnoreFileChecks parameter by @andreasjordan in #10219
- Copy-DbaPolicyManagement: Add ObjectSets migration by @andreasjordan in #10220
- Get-DbaDb[StoredProcedure|Table|Udf|View]: Wrap all ClearAndInitialize in try-catch-block by @andreasjordan in #10226
- Backup-DbaDatabase: Prevent duplicate dbname when using CreateFolder with ReplaceInName by @andreasjordan in #10224
- Invoke-DbaDbDataMasking: Fix MaskingID column and index left behind after masking by @andreasjordan in #10223
- Invoke-DbaDbDataMasking: Fix Deterministic masking not applied with multiple columns by @andreasjordan in #10222
- Read-DbaXEFile: Fix database_name and other action columns being empty by @andreasjordan in #10221
- March 2026 CVEs by @niphlod in #10230
- Remove Invoke-SmoCheck - no longer needed by @andreasjordan in #10229
- Set-DbaPrivilege: Use per-service SID (NT SERVICE\ServiceName) for IFI, LPIM, SecAudit by @andreasjordan in #10228
New Contributors
Full Changelog: v2.7.25...v2.7.26
v2.7.25
What's Changed
- Copy-DbaCredential: Enhance handling of dedicated admin connections by @andreasjordan in #10154
- Copy-DbaDbMail: Enhance handling of dedicated admin connections by @andreasjordan in #10155
- Copy-DbaLinkedServer: Enhance handling of dedicated admin connections by @andreasjordan in #10156
- Added SQL Server 2025 CU2 to dbatools-buildref-index.json by @andreasjordan in #10168
- Updated LastUpdated of dbatools-buildref-index.json as followup to adding SQL Server 2025 CU2 by @andreasjordan in #10169
- Get-DbaDbTable: Optimize usage of ClearAndInitialize by @andreasjordan in #10157
- Export-DbaCredential: Enhance handling of dedicated admin connections by @andreasjordan in #10158
- Export-DbaLinkedServer: Enhance handling of dedicated admin connections by @andreasjordan in #10159
- Invoke-DbaDbDecryptObject: Enhance handling of dedicated admin connections by @andreasjordan in #10160
- [Start|Stop]-DbaDbEncryption: Fix usage of Disconnect-DbaInstance by @andreasjordan in #10161
- Sync-DbaAvailabilityGroup: Enhance handling of dedicated admin connections by @andreasjordan in #10163
- Get-DbaNetworkConfiguration: Fix bug and really add SuitableCertificate property to output by @andreasjordan in #10165
- New-DbaComputerCertificate: Update security defaults to industry standards by @andreasjordan in #10167
- Correct help text to correctly reflect Duration units by @alevyinroc in #10171
- Export-DbaInstance: Enhance handling of dedicated admin connections by @andreasjordan in #10173
- Add-DbaComputerCertificate - handle multiple flags for NonExportable keys by @rmroczk in #10176
- Part 2 of refactoring of Get-DecryptedObject by @andreasjordan in #10174
- Install-DbaMaintenanceSolution: make off switches work and increase test coverage by @ReeceGoding in #10172
- Start-DbaMigration: Enhance handling of dedicated admin connections by @andreasjordan in #10162
New Contributors
Full Changelog: v2.7.24...v2.7.25
v2.7.24
What's Changed
- Enhance tests by @andreasjordan in #10131
- Refactor test configuration to standardize instance naming and improve clarity in documentation by @andreasjordan in #10142
- S3 restores - Improve handling, docs and tests by @ClaudioESSilva in #10137
- Get-DbaNetworkConfiguration: Add SuitableCertificate property to output by @andreasjordan in #10143
- Use Invoke-DbaQuery instead of ExecuteNonQuery for long batches to avoid issues on AppVeyor by @andreasjordan in #10149
- Made docs for Invoke-ManualPester match the ValidateSet on Show. by @ReeceGoding in #10147
- Install-DbaMaintenanceSolution.Tests: make the additional backup parameters tests run by @ReeceGoding in #10145
- Part 1 of refactoring of Get-DecryptedObject by @andreasjordan in #10150
- Get-DbaDbTable: Fix performance regression with URN filter and config option by @PeterSawatzki-MGGM in #10140
New Contributors
- @PeterSawatzki-MGGM made their first contribution in #10140
Full Changelog: V2.7.23...v2.7.24
v2.7.23
What's Changed
- Improve install-dbatools-library.ps1: Only log real warnings in loglevel warning by @andreasjordan in #10110
- Fix test for Get-InstalledPatch: Test for warnings but skip on AppVeyor by @andreasjordan in #10108
- Fix DAC connection issues in linked server operations by @potatoqualitee in #10106
- Update Copy-DbaInstanceAudit.ps1 - bug 10113 by @Ant-Green in #10116
- new CUs have been released. unfortunately, they "replace" previous CU by @niphlod in #10124
- Remove-DbaDbLogShipping - Fix handling of incomplete log shipping configurations by @potatoqualitee in #10123
- Copy-DbaCredential: Add ExcludePassword by @andreasjordan in #10115
- Copy-DbaDbMail: App parameter ExcludePassword by @andreasjordan in #10117
- Export-DbaCredential: Open DAC unless ExcludePassword used by @andreasjordan in #10112
- Support native backup/restore from/to s3 by @ClaudioESSilva in #10126
- bump date for buildreference by @niphlod in #10128
- Use new AppVeyor image to test against SQL Server 2022 by @andreasjordan in #10101
Full Changelog: v2.7.22...v2.7.23
v2.7.22
What's Changed
- Fix arithmetic overflow in Get-DbaDatabase for very large databases by @potatoqualitee in #10105
- Update dbatools-buildref-index.json for retired CUs by @andreasjordan in #10109
- Get-DbaInstalledPatch: Add Hotfixes that are named GDR by @andreasjordan in #10107
Full Changelog: v2.7.21...v2.7.22
v2.7.21
What's Changed
- Test-DbaKerberos - Fix Server-DC time sync for non-admin users by @potatoqualitee in #10075
- Refactor test scenarios by @andreasjordan in #10070
- Fix tests so that they work against a Failover Cluster Instance by @andreasjordan in #10079
- Update Pester version to 5.7.1 by @andreasjordan in #10084
- Get-DbaService: Add property SqlInstance when using parameter AdvancedProperties to support Failover Cluster Instances by @andreasjordan in #10082
- Some small improvements by @andreasjordan in #10081
- Next round of using new test scenarios by @andreasjordan in #10087
- Fix test for Import-DbaPfDataCollectorSetTemplate to support FCI by @andreasjordan in #10093
- Install-DbaSqlPackage: Refactor command to fix issues while testing existing installation by @andreasjordan in #10092
- Invoke-TlsWebRequest: Make Invoke-WebRequest faster by @andreasjordan in #10091
- Test-DbaDiskAllocation: Refactor command by @andreasjordan in #10086
- Start-DbaDbEncryption: Fix issues with parallel processing by @andreasjordan in #10083
- Move more tests to new scenarios by @andreasjordan in #10090
- Improve tests to be more flexible by @andreasjordan in #10096
- Security updates for SQL 2022 - January 13, 2026 by @MikeyBronowski in #10098
- SQL Server 2022 CU23 + SQL Server 2025 CU1 + Security Update by @MikeyBronowski in #10099
- Test Improvements: Move last tests to new scenarios by @andreasjordan in #10100
Full Changelog: v2.7.20...v2.7.21
v2.7.20
What's Changed
- Add detailed .OUTPUTS documentation by @potatoqualitee in #10072
- New-DbaDacPackage - Fix DacMessageType namespace in validation check by @potatoqualitee in #10076
Full Changelog: v2.7.19...v2.7.20
v2.7.19
What's Changed
- Test-DbaKerberos - Update documentation and examples, release from pipeline earlier by @potatoqualitee in #10071
Full Changelog: v2.7.18...v2.7.19
v2.7.18
Updated to the new library which added some CSV features https://github.com/dataplat/dbatools.library/releases/tag/v2025.12.28