dbatools is a free PowerShell module with over 180 SQL Server administration, best practice and migration commands included.


Get-DbaCustomError

Gets SQL Custom Error Message information for each instance(s) of SQL Server.

Screenshots

Examples

To return all Custom Error Message(s) on the local default SQL Server instance.

Get-DbaCustomError -SqlInstance localhost

To return all Custom Error Message(s) for the local and sql2016 SQL Server instances.

Get-DbaCustomError -SqlInstance localhost, sql2016

Author

This command was created by Garry Bargsley. You can find Garry on Twitter and his blog.om

Get-Help

From PowerShell, execute Get-Help Get-DbaCustomError -Detailed for more information on this function.

Source Code

Want to see the source code? View Get-DbaCustomError.ps1 on GitHub
 

Related commands