Releases: dataplat/dbatools
Releases · dataplat/dbatools
v2.1.7
What's Changed
- Get-DbaAgentSchedule: Fix description output for hourly jobs by @andreasjordan in #9194
- Copy-DbaDbTableData: Add missing database parameter when connecting to target by @andreasjordan in #9193
- Added several security patches related to CVE-2024-0056 + SQL 2022 CU11 by @MikeyBronowski in #9207
- Update Set-DbaDbQueryStoreOption.ps1 by @tominyorks in #9205
- Grant-DbaAgPermission - Update Type description by @0x7FFFFFFFFFFFFFFF in #9201
- Invoke-DbaQuery, support reuse of parameters by @niphlod in #9221
- Update-DbaInstance: Fix typo in warning message by @pluim003 in #9213
- Get-DbaCmObject - Improved CIM ErrorHandling by @FriedrichWeinmann in #9107
- Copy-DbaDatabase - doc update by @0x7FFFFFFFFFFFFFFF in #9200
- Update Get-DbaFile.ps1 by @0x7FFFFFFFFFFFFFFF in #9202
New Contributors
- @tominyorks made their first contribution in #9205
- @pluim003 made their first contribution in #9213
Full Changelog: v2.1.6...v2.1.7
v2.1.6
What's Changed
- Update dbatools-buildref-index.json SQL 2022 CU10 by @MikeyBronowski in #9167
- Get-DbaPermission - fix returning Null in field 'Securable' by @uncletimmy3 in #9171
- SQL Server 2019 CU 24 by @rwestMSFT in #9185
Full Changelog: v2.1.5...v2.1.6
v2.1.5
What's Changed
- Update Get-DbaDbBackupHistory.ps1 by @0x7FFFFFFFFFFFFFFF in #9138
- Update dbatools-buildref-index.json - Added 11.0.7512 by @andreasjordan in #9142
- Add-DbaAgDatabase - Use ExecuteAs with restore to set correct database owner by @andreasjordan in #9144
- Connect-DbaInstance - Change EncryptConnection to a switch with a default of $true by @andreasjordan in #9143
- New-DbaEndpoint - New parameter AuthenticationOrder by @andreasjordan in #9145
- Set-DbaDbCompatbility - Fix for using piped input and don't trust master compatibility level by @andreasjordan in #9146
- Update Set-DbaAgentJobStep Retry null check by @tyndur in #9148
- New-DbaEndPoint - Fix Auth Order Param issue by @potatoqualitee in #9155
- Backup-DbaDatabase - allow users to specify no compression by @ben-thul in #9151
- Encryption Check - Add support for string settings by @potatoqualitee in #9154
- Install-DbaInstance - Fix for installing MachineLearning in SQL Server 2022 by @potatoqualitee in #9153
- Config - do not attempt HKCU on macOS or Linux by @potatoqualitee in #9157
- Fix non-Windows Import Errors by @potatoqualitee in #9158
New Contributors
- @0x7FFFFFFFFFFFFFFF made their first contribution in #9138
- @tyndur made their first contribution in #9148
Full Changelog: v2.1.4...v2.1.5
v2.1.4
Thank you, Randolph! ❤️🔥
What's Changed
- SQL Server 2019 and 2022 CUs: Update dbatools-buildref-index.json by @rwestMSFT in #9127
Full Changelog: v2.1.3...v2.1.4
v2.1.3
Thanks to all who contributed! Also thanks to @StartAutomating who didn't show up on this list but helped create a tool that we use for separating out help into a help file. You can find HelpOut on GitHub and in the PowerShell Gallery.
We used the following command:
Install-Maml -FunctionRoot public, private -Module dbatools -Compact -NoVersion -ScriptName dbatools.ps1 -NoComment
Then we further compress the resulting dbatools.ps1 to a dbatools.dat
What's Changed
- Remove-DbaDatabaseSafely - Fix usage of Stop-Function by @andreasjordan in #9109
- Get-DbaAgListener - Fix filtering for listener names by @andreasjordan in #9108
- Add repl commands to the psm1 by @jpomfret in #9124
- Set-DbaNetworkCertificate - Support localhost and use it as default for SqlInstance by @HCRitter in #9098
- Set-DbaDbCompression, prefer online rebuilds where possible by @niphlod in #9118
- Copy-DbaDbTableData - Enable failback to default group by @ben-thul in #9122
- Invoke-DbaDbDataMasking - Use correct logging command by @andreasjordan in #9117
- Remove-DbaDatabaseSafely - Fix Exception handling by @andreasjordan in #9115
- Install-DbaInstance - Use maximum length for random password by @andreasjordan in #9119
- Set-DbaNetworkCertificate - Support localhost and use it as default for SqlInstance (part 2) by @andreasjordan in #9125
- Update dbatools-buildref-index.json Added security updates addressing by @MikeyBronowski in #9126
Full Changelog: v2.1.2...v2.1.3
v2.1.2
What's Changed
- Add-DbaAgDatabase - Fix stale cache issue by @andreasjordan in #9101
Full Changelog: v2.1.1...v2.1.2
v2.1.1
What's Changed
- Add replication support to dbatools! by @jpomfret in #8958
- Test-DbaLoginPassword, use parametrized query by @niphlod in #9097
- Test-DbaConnection - Fix for wrong data in failed connections by @HarrisonLond in #9096
- Fix stale cache issue in Add-DbaAgDatabase by @agowa in #9094
New Contributors
- @HarrisonLond made their first contribution in #9096
- @agowa made their first contribution in #9094
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
- Get-DbaDatabase - Add RecoveryPending as possible Status by @andreasjordan in #8965
- Get-DbaMaintenanceSolutionLog - Update documentation by @andreasjordan in #8979
- Export-DbaUser - Add support for SQL Server 2022 by @andreasjordan in #8978
- Install-DbaMaintenanceSolution - Added InstallJobs switch in examples by @andreasjordan in #8982
- Get-DbaDbRoleMember - EnableException support on child function call by @wsmelton in #8987
- configuration.ps1 - Fix wrong setting of NoRegistry by @andreasjordan in #8968
- Backup-DbaDatabase - Add database name to error message by @andreasjordan in #8975
- Get-DbaStartupParameter - Return debug flags instead of writing warning by @andreasjordan in #8977
- Connect-DbaInstance - Fix for using a connection string by @andreasjordan in #8962
- Add IsHadrEnabled to default output of Microsoft.SqlServer.Management.Smo.Server by @andreasjordan in #8983
- Update build file - SQL 2022 CU5, SQL 2019 CU21 by @MikeyBronowski in #8990
- Test-DbaWindowsLogin - Add support for pipeline input from Get-DbaLogin by @andreasjordan in #8984
- Documentation - correct typo of TThe to The by @mikeblas in #9000
- Update reference in project readme - correction on custom port syntax by @mikeblas in #8998
- Get-DbaDbBackupHistory - support AvailabilityGroupName for Raw parameter output by @andreasjordan in #8974
- New-DbaLogShippingPrimaryDatabase / New-DbaLogShippingSecondaryPrimary - Add missing parameter name by @andreasjordan in #8971
- Update-DbaServiceAccount - Add information about supported services and versions by @andreasjordan in #8981
- Get-DbaMemoryUsage - New parameters for regex string to support non US systems by @andreasjordan in #8976
- Copy-DbaSsisCatalog - Fix building IntegrationServices object by @andreasjordan in #9005
- Test-DbaDbCompatibility - Determining target compatibility level based on server version by @andreasjordan in #8992
- Copy-DbaDatabase - Set correct database offline on source server when using both -NewName and -SetSourceDatabaseOffline by @andreasjordan in #9004
- Read-DbaXEFile - Refactoring to get the command working again by @andreasjordan in #9007
- Invoke-DbaDbDataGenerator / Get-DbaRandomizedValue - Fix precision for datatime datatype by @andreasjordan in #9016
- Convert-DbaIndexToTable - Fix for [n]varchar(max) by @andreasjordan in #9014
- Copy-DbaSystemDbUserObject - Create schema with correct owner by @andreasjordan in #9017
- Copy-DbaDatabase - Add missing parameter validation by @mikeblas in #9002
- Copy-DbaDatabase - Fix documentation for parameter BackupRestore by @andreasjordan in #9018
- New-DbaAgentSchedule - Don't allow shorter intervals than 10 seconds by @andreasjordan in #9020
- Test-DbaLastBackup - change backupDate fixes #9024 by @jpomfret in #9025
- Get-DbaProductKey - Continue on error by @andreasjordan in #9023
- Improve formatting by @andreasjordan in #9026
- Update dbatools-buildref-index.json by @rwestMSFT in #9034
- fix typo in Get-DecryptedObject.ps1 by @DiHo78 in #9054
- Add SQL Server 2022 CU7 by @MikeyBronowski in #9056
- Add SQL Server 2019 CU22 by @rwestMSFT in #9058
- added cu8 for 2022 by @niphlod in #9082
- Find-DbaInstance - Fix regex for UDP Search by @uncletimmy3 in #9072
- Bug Fix #9068. New-DbaDbUser by @sqlarticles in #9078
- Copy-DbaDatabase - Use correct variable for testing for same database by @andreasjordan in #9032
New Contributors
- @mikeblas made their first contribution in #9000
- @rwestMSFT made their first contribution in #9034
Full Changelog: v2.0.4...v2.1.0
v2.0.4
Surprisingly big version! Thanks again @andreasjordan 🏆
What's Changed
- Fix JobCount returned on schedule creation by @lowlydba in #8934
- New-DbaAgentSchedule - Fix issue with FrequencyInterval Weekdays by @andreasjordan in #8938
- Get-DbaAgentSchedule - Use better switch syntax by @andreasjordan in #8937
- Get/Test-DbaBuild, handle version "aliases" by @niphlod in #8959
- Watch-DbaDbLogin - Only write to target and don't watch target by @andreasjordan in #8936
- Test-DbaBackupInformation - Fix for database name capitalization changes by @andreasjordan in #8942
- New-DbaAvailabilityGroup and Add-DbaAgDatabase: Improve progress bars by @andreasjordan in #8943
- Install-DbaFirstResponderKit - Use target database on first connect by @andreasjordan in #8951
- Get-DbaProductKey - Support SQL Server 2022 by @andreasjordan in #8952
- Get-DbaDbAssembly - Fix filter for name by @andreasjordan in #8953
- Copy-DbaDatabase - Fix issue while deleting backups by @andreasjordan in #8954
- Copy-DbaDbTableData - Fix test and example for query parameter by @andreasjordan in #8956
- New-DbaDbUser - Align code with docs by @andreasjordan in #8957
- Get-DbaProductKey - Enable support for SQL Server 2005 by @andreasjordan in #8961
- Export-DbaDbRole - Exclude special user dbo by @andreasjordan in #8963
- New-DbaAvailabilityGroup - Remove parameter ReadonlyRoutingConnectionUrl by @andreasjordan in #8960
Full Changelog: v2.0.3...v2.0.4
v2.0.3
What's Changed
- Update dbatools-buildref-index.json - SQL 2022 CU4 by @MikeyBronowski in #8925
- Install-DbaMaintenanceSolution - fix scheduler, add examples by @potatoqualitee in #8926
- Fix SuspectPage example in documentation by @msgisme in #8928
New Contributors
- @msgisme made their first contribution in #8928
Full Changelog: v2.0.2...v2.0.3