Complete a Server Assessment – Enabled Trace Flags

Below you will find the code to identify any trace flags that are enabled.  Simply select the text and copy to the Clipboard.

DBCC Tracestatus(-1)

This code was written using the Microsoft SQL Server documentation.  If you find that this code was copied from else where, please let me know so I can give proper credit.