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

Please note that documentation and command names may be out of date while we work furiously towards 1.0


Get-DbatoolsLog

Returns log entries for dbatools. Handy when debugging or developing for it. Also used when preparing a support package.

Screenshots

dbatools - Get-DbaToolsLog

Examples

Returns all log entries currently in memory.

Get-DbatoolsLog

Author

This command was created by Fred Weinmann. You can find Fred on Twitter.

Get-Help

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

Source Code

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

Related commands