~/talk

SQL Server Configuration with dbatools & dbachecks

Talkat SQL Server Virtual Conference 2021 · on Friday, 2021-01-29· [devops-and-delivery]
slides:none on file

Shows how to automate SQL Server configuration using PowerShell with the dbatools module and validate settings with dbachecks to PowerBI. Demonstrates installing modules (avoid Pester v5), sets a standard config (DB mail, operators, alerts), installs maintenance scripts and jobs, and runs dbachecks audits that drop failures from 126→22 failures while fixing Agent alerts, backups, schedules, trace flags and enabling query store; includes custom test guidance, sample scripts, and a live cumulative update install that completes successfully.

AI-written summary · about

  1. 0:00Start
  2. 2:12install the module for dba
  3. 8:18show you a couple of basic things about using powershell
  4. 8:47use the criteria in the grid
  5. 9:39basic commands in in powershell
  6. 10:47set up a mail account
  7. 11:34pull in a connection to the server
  8. 12:03add a database mail account
  9. 18:38set our integrity checks to run
  10. 19:35set my recovery mode on my msdb to full
  11. 24:07run powershell in sql agent
  12. 25:05optimized for ad-hoc workloads
  13. 26:31run glen allen various diagnostic queries
  14. 30:05run database compression using dba tools
  15. 32:13write your own custom test
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.