tcdbtools

1.0.51

A collection of SQL Server automation functionality

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name tcdbtools -RequiredVersion 1.0.51

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name tcdbtools -Version 1.0.51

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2022 Tim Cartwright. All rights reserved.

Package Details

Author(s)

  • Tim Cartwright

Tags

sqlserver sql dba databases database smo

Functions

Invoke-DBMoveIndexes Invoke-DBSafeShrink Invoke-DBScriptObjects Invoke-DBExtractCLRDLL Invoke-DBCompareServerSettings Invoke-DBRenameConstraints Find-DBInvalidSettings Find-DBValue Test-DBReadOnlyRouting Find-DBColumnDataTypeDiscrepancies Invoke-DBDeployAgentJob Invoke-DBSqlAgentScripter Invoke-DBScalarQuery Invoke-DBNonQuery Invoke-DBReaderQuery Invoke-DBDataSetQuery Invoke-DBDataTableQuery New-DBSqlParameter Get-DBInClauseParams Get-DBInClauseString New-DBScripterObject New-DBSMOServer New-DBSqlCmdArguments New-DBSQLConnection Get-AllUserDatabases Test-DBSqlConnection Invoke-DBScriptRunner Get-DBUserCredential Set-DBUserCredential New-DBUserCredential Write-InformationColorized ConvertTo-Markdown Invoke-Telnet ConvertFrom-DataRows ConvertFrom-DataTable

Dependencies

This module has no dependencies.

Release Notes

1.0.51
* Altered Invoke-DBSynchronizeSQLLogins so that if any of the logins / pwds / sids are the same when not using an authority then those logins are skipped as they do not need to synch
* Fixed a bug in the safe shrink that could happen when moving tables with LOB data, and the first column in the key had a maxlength, scale, or precision
* modified the RemoveShrinkTempObjects.sql file to remove any lingering Partition functions or schemes
Full Release Notes: https://github.com/tcartwright/tcdbtools/blob/main/tcdbtools/RELEASE_NOTES

FileList

Version History

Version Downloads Last updated
1.0.54 434 8/11/2023
1.0.53 40 6/10/2023
1.0.52 7 6/9/2023
1.0.51 (current version) 5 6/9/2023
1.0.50 12 5/29/2023
1.0.49 25 5/17/2023
1.0.48 10 5/8/2023
1.0.47 17 4/20/2023
1.0.46 19 3/28/2023
1.0.45 25 3/3/2023
1.0.44 16 2/28/2023
1.0.43 24 2/15/2023
1.0.42 20 2/10/2023
1.0.41 22 2/2/2023
1.0.40 9 1/25/2023
1.0.39 13 1/25/2023
1.0.38 13 1/25/2023
1.0.37 8 1/25/2023
1.0.36 11 1/18/2023
1.0.35 6 1/18/2023
1.0.34 6 1/17/2023
1.0.33 6 1/14/2023
1.0.32 7 1/13/2023
1.0.31 7 1/11/2023
1.0.30 10 1/9/2023
1.0.29 7 1/5/2023
1.0.28 9 12/23/2022
1.0.27 6 12/22/2022
1.0.26 6 12/22/2022
1.0.25 8 12/21/2022
1.0.24 7 12/21/2022
1.0.23 8 12/21/2022
1.0.22 6 12/21/2022
1.0.21 7 12/20/2022
1.0.20 7 12/20/2022
1.0.19 6 12/20/2022
1.0.18 7 12/16/2022
1.0.17 5 12/16/2022
1.0.16 6 12/16/2022
1.0.15 6 12/16/2022
1.0.14 7 12/16/2022
1.0.13 11 12/13/2022
1.0.12 6 12/13/2022
1.0.11 7 12/12/2022
1.0.10 7 12/12/2022
1.0.9 7 12/12/2022
1.0.8 8 12/12/2022
1.0.7 9 12/9/2022
1.0.6 7 12/9/2022
1.0.5 6 12/9/2022
1.0.4 6 12/9/2022
1.0.3 5 12/9/2022
1.0.1 6 12/9/2022
1.0.0 8 12/9/2022
Show more