Home
%3CLINGO-SUB%20id%3D%22lingo-sub-778570%22%20slang%3D%22en-US%22%3EIntroducing%20SQL%20Assessment%20API%20(Public%20Preview)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-778570%22%20slang%3D%22en-US%22%3E%3CP%3ESQL%20Assessment%20API%20is%20a%20new%20mechanism%20to%20evaluate%20configuration%20of%20your%20SQL%20Server%20for%20best%20practices.%20The%20API%20methods%20are%20used%20by%20means%20of%20a%20SQL%20Server%20Management%20Object%20(SMO)%20extension%20and%20new%20cmdlets%20in%20SqlServer%20PowerShell%20module.%20API%20is%20delivered%20with%20a%20ruleset%20that%20is%20highly%20customizable%20and%20extensible.%20It%20can%20be%20used%20to%20assess%20SQL%20Server%20versions%202012%20and%20higher%2C%20both%20on%20Windows%20and%20Linux.%3C%2FP%3E%0A%3CP%3EIt%20is%20available%20in%20public%20preview.%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fsql%2Fsql-assessment-api%2Fsql-assessment-api-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EDocs%20online%3C%2FA%3Epage%20has%20the%20instructions%20on%20how%20to%20install%20(depending%20on%20how%20you%20want%20to%20use%20it%2C%20you%20need%20to%20either%20install%20SMO%20and%2For%20SqlServer%20PowerShell%20module%20and%20you%20are%20good%20to%20go)%20as%20well%20as%20a%20get%20started%20section%20with%20sample%20scripts.%3C%2FP%3E%0A%3CP%3ESQL%20Assessment%20API%20is%20useful%20when%20you%20want%20to%20make%20sure%20your%20SQL%20Server%20configuration%20is%20in%20line%20with%20recommended%20best%20practices.%20After%20an%20initial%20assessment%2C%20configuration%20stability%20can%20be%20tracked%20by%20regularly%20scheduled%20assessments.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%22%3ERules%2C%20sometimes%20referred%20to%20as%20checks%2C%20are%20defined%20in%20JSON%20formatted%20files.%20Microsoft's%20shipped%20ruleset%20is%20available%20in%20our%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Fsql-assessment-api%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EGitHub%20repository%3C%2FA%3E.%20You%20will%20find%20examples%20of%20how%20to%20customize%20existing%20rules%20and%20how%20to%20write%20new%20ones%20in%20the%20same%20location.%20We%20will%20be%20growing%20the%20repo%20with%20new%20rules%20and%20examples%20going%20forward.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%22%3EWe%20would%20love%20to%20hear%20your%20feedback.%20Please%20feel%20free%20to%20comment%20here%20or%20even%20better%2C%20on%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Fsql-assessment-api%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ESQL%20Assessment%20API%20GitHub%20page%3C%2FA%3Ewhere%20we%20have%20the%20rules%20and%20sample%20scripts%20available.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20margin-bottom%3A%20.0001pt%3B%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-778570%22%20slang%3D%22en-US%22%3E%3CP%3ESQL%20Assessment%20API%20is%20a%20new%20mechanism%20to%20evaluate%20configuration%20of%20your%20SQL%20Server%20for%20best%20practices.%20The%20API%20methods%20are%20used%20by%20means%20of%20a%20SQL%20Server%20Management%20Object%20(SMO)%20extension%20and%20new%20cmdlets%20in%20SqlServer%20PowerShell%20module.%20API%20is%20delivered%20with%20a%20ruleset%20that%20is%20highly%20customizable%20and%20extensible.%20It%20can%20be%20used%20to%20assess%20SQL%20Server%20versions%202012%20and%20higher%2C%20both%20on%20Windows%20and%20Linux.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-778570%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESQLReleases%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESQLServerTiger%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

SQL Assessment API is a new mechanism to evaluate configuration of your SQL Server for best practices. The API methods are used by means of a SQL Server Management Object (SMO) extension and new cmdlets in SqlServer PowerShell module. API is delivered with a ruleset that is highly customizable and extensible. It can be used to assess SQL Server versions 2012 and higher, both on Windows and Linux.

It is available in public preview. Docs online page has the instructions on how to install (depending on how you want to use it, you need to either install SMO and/or SqlServer PowerShell module and you are good to go) as well as a get started section with sample scripts.

SQL Assessment API is useful when you want to make sure your SQL Server configuration is in line with recommended best practices. After an initial assessment, configuration stability can be tracked by regularly scheduled assessments.

Rules, sometimes referred to as checks, are defined in JSON formatted files. Microsoft's shipped ruleset is available in our GitHub repository. You will find examples of how to customize existing rules and how to write new ones in the same location. We will be growing the repo with new rules and examples going forward.

We would love to hear your feedback. Please feel free to comment here or even better, on SQL Assessment API GitHub page where we have the rules and sample scripts available.