dbatools 🚀
@dbatools.io
970 followers 35 following 28 posts
Community driven SQL Server PowerShell module. Works on Windows, Linux and macOS.
Posts Media Videos Starter Packs
Reposted by dbatools 🚀
funbucket.dev
One of my favorite things to use AI for is repo storytelling. Claude Code is SO good at using gh, git and its own tools to understand changes to @dbatools.io's repo and tell a story. Here, I asked it to detail @sqldbawithbeard.bsky.social's Pester contributions for my upcoming session at @psconf.eu
A console with the writing:

**SQLDBAWithABeard's Pester Contributions – Deep Dive:**

**The Foundation: November 23, 2016 – A Historic Day**

SQLDBAWithABeard made 83 commits in a single day (November 23, 2016), fundamentally transforming dbatools' quality standards. This was just 6 months after June Blender added the first test file.

**1. CI/CD Infrastructure Setup**

Created the complete testing infrastructure:

* tests/appveyor.pester.ps1 – A sophisticated test runner that:

  * Supports multiple PowerShell versions (v2+)
  * Serializes XML results for AppVeyor consumption
  * Uploads test results to AppVeyor's test page via API
  * Aggregates results from multiple PowerShell version test runs
  * Fails builds on test failures with detailed failure summaries
* AppVeyor CI Integration – Set up continuous integration that:

  * Runs tests on native PS version and PS 3.0
  * Installs Pester and PSScriptAnalyzer automatically
  * Collects and uploads test results
  * Added skip commit support for readme updates
A console that says:

**2. Test-Driven Documentation Standards**

Created tests/dbatools.Tests.ps1 – A comprehensive module manifest test that validates:

* Module name, root module, GUID, version
* Author and company information
* PowerShell version requirements
* Required assemblies
* Critically: All exported functions match actual function files

This test ensured the module manifest stayed in sync with actual functions.

**3. The Great Documentation Cleanup (Nov 23, 2016)**

After establishing the test infrastructure, he discovered widespread documentation gaps. His response: 83 commits in one day adding parameter help to pass tests across the entire codebase:

* Added help for Force, WhatIf, Confirm parameters (ShouldProcess support)
* Added SqlCredential, Detailed, OutputFile, Collection parameter help
* Fixed function headers to match Pester requirements
dbatools.io
SEVEN MILLION+ downloads on the PowerShell Gallery! Thanks to everyone who helped make this happen 🤗
Screenshot of the PowerShell Gallery page for the dbatools module version 2.5.5, showing a large red arrow pointing to the total download count of 7,001,571, highlighting a milestone achievement; the page also displays 15,846 downloads for this version, the last published date of August 5, 2025, and an example PowerShell command to install the module.
dbatools.io
If you build software, you're based in the US or Canada, and your organization has been around for at least 3 years, check out Azure Trusted Signing.

It costs $9.99/mo, which after 3 years, costs about the same as a 3-year DigiCert — all without the antiquated ID verification.
Trusted Signing—Managed Signing Services | Microsoft Azure
Secure your applications with a fully managed end-to-end signing service for code, documents, applications, and more with Trusted Signing from Microsoft Azure.
azure.microsoft.com
dbatools.io
But how cool is it to have your software signed by @microsoft.com?

Also, check out that NotAfter and NotBefore, so short!
A PowerShell Core terminal displays detailed information about an X.509 certificate, showing fields like NotAfter (8/8/2025), NotBefore (8/5/2025), SerialNumber, Thumbprint, and Issuer. Two red arrows highlight the Issuer as "CN=Microsoft ID Verified CS AOC CA 02" and the Subject as "CN=dbatools, O=dbatools, L=Vienna, S=Virginia, C=US." The background includes a stylized purple-and-cyan avatar graphic in the lower-right corner, suggesting a personalized or themed terminal setup.
dbatools.io
Or you can stay with version 2.5.1. That signature will be valid pretty much until the end of time.

Oh and going back to Install-Module, if you switch to Install-PSResource, that bypasses the SkipPublisherCheck requirement.

```
Install-Module Microsoft.PowerShell.PSResourceGet
```
dbatools.io
Not up for dealing with daily cert rotation? You can set your execution policy to Bypass or Unrestricted.

If this sounds concerning to you, the post below should provide you with reassurance. Also, most if not all of us on the dev team set our Execution Policies to Bypass or Unrestricted if we can.
EXPECTED ERROR: Update-Module dbatools Authenticode Issue for 2.5.5 · Issue #9748 · dataplat/dbatools
TLDR: dbatools is moving to Azure Trusted Signing, which means Microsoft backs our reputation and dbatools won't trigger as many antivirus false positives. Users upgrading from older signed version...
github.com
dbatools.io
For users with strict ExecutionPolicies, we have a workaround for the daily cert rotation in Windows PowerShell.

Add this Import-Dbatools function to your profile to auto-trust certs:
Import-Dbatools
Import-Dbatools. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
dbatools.io
Our cert now shows Microsoft ID Verified as the issuer. Identity validation took just 30 minutes vs DigiCert's 2+ months.

Azure Trusted Signing provides instant reputation tied to our verified identity & not to a specific cert like the old way. Should finally solve years of false positives.
A Windows Certificate Manager window shows the "Trusted Publishers" certificate store under "Certificates - Current User." The selected certificate is issued to "dbatools" and issued by "Microsoft ID Verified CS AOC CA 02," with an expiration date of August 8, 2025. Other listed certificates include several issued to "Microsoft Corporation" by "Microsoft Code Signing PCA 2011," mostly for Microsoft Publisher and code signing purposes, with varied expiration dates. The view indicates 10 total certificates in this store.
dbatools.io
Upgrading from older versions? You'll need this ONE time:

```
Install-Module dbatools -Force -SkipPublisherCheck
```

After that initial transition, you won't need SkipPublisherCheck again since our cert keeps the same subject and root CA for version 2.5.5+ onward.
dbatools.io
🎉 Big news! dbatools is moving to Azure Trusted Signing, which provides base reputation on Windows SmartScreen. No more antivirus false positives.

The catch? If you use strict ExecutionPolicies, you'll need to trust our cert after each update (it rotates daily). But we've got automation scripts.
dbatools is moving to Azure Trusted Signing
TLDR: dbatools is moving to Azure Trusted Signing, which means Microsoft backs our reputation and dbatools won't trigger as many antivirus false positives. …
blog.netnerds.net
dbatools.io
😌 oh good. Happy that was the issue after getting that notification!
Reposted by dbatools 🚀
vladdba.com
Blog post from the past:
I which I demo creating and managing aliases via @dbatools.io, cliconfig, SQL Server Configuration Manager, and registry keys.
#sqlserver #sqldba #microsoftsqlserver #mssqlserver #mssql #mssqldba #powershell
vladdba.com/2023/09/29/c...
Configuring and using SQL Server client aliases
In this post I cover SQL Server client aliases, what they are and when they're useful, as well as how to configure, update, and use them.
vladdba.com
Reposted by dbatools 🚀
Reposted by dbatools 🚀
adamrdriscoll.com
Fantastic walk through of using @dbatools.io with PowerShell Universal. Jess provides step-by-step examples of pulling data back in APIs and building out an app to display database in tables. She even gets into the server-side paging. Worth a watch!
jpomfret.co.uk
Put together a little video on using #PowerShellUniversal with @dbatools.io to create a cool dashboard!

What do you think? What should I add? (especially to the home page 🤣)

www.youtube.com/watch?v=DKD1...
PowerShell Universal + dbatools!
YouTube video by Jess Pomfret
www.youtube.com
Reposted by dbatools 🚀
alevyinroc.flxsql.com
I’m getting so many ideas from this. And so little time.
jpomfret.co.uk
Put together a little video on using #PowerShellUniversal with @dbatools.io to create a cool dashboard!

What do you think? What should I add? (especially to the home page 🤣)

www.youtube.com/watch?v=DKD1...
PowerShell Universal + dbatools!
YouTube video by Jess Pomfret
www.youtube.com
Reposted by dbatools 🚀
robsewell.com
So very cool. #dbatools & #PowerShellUniversal creating a dashboard enabling users to backup their databases and showing the current status. I also love that Jess explains some of the development process so that even if you're not a PowerShell expert you can still learn the steps to do this yourself
jpomfret.co.uk
Put together a little video on using #PowerShellUniversal with @dbatools.io to create a cool dashboard!

What do you think? What should I add? (especially to the home page 🤣)

www.youtube.com/watch?v=DKD1...
PowerShell Universal + dbatools!
YouTube video by Jess Pomfret
www.youtube.com
Reposted by dbatools 🚀
jpomfret.co.uk
Put together a little video on using #PowerShellUniversal with @dbatools.io to create a cool dashboard!

What do you think? What should I add? (especially to the home page 🤣)

www.youtube.com/watch?v=DKD1...
PowerShell Universal + dbatools!
YouTube video by Jess Pomfret
www.youtube.com
dbatools.io
Lots of #SQLServer and #PowerShell on this list!
vladdba.com
To top off 2024, I've put together a list of my most popular blog posts in 2024.
Thanks for all the clicks, likes and shares!

vladdba.com/2024/12/31/m...

#sqlserver #sqldba #microsoftsqlserver #mssqlserver #mssql #mssqldba
Most popular blog posts in 2024
Since 2024 is coming to an end, I figured I should make a round-up, similar to Brent Ozar's, outlining the most popular blog posts this year
vladdba.com
Reposted by dbatools 🚀
adamrdriscoll.com
I've been making some PowerShell modules to test out PowerShell Universal's upcoming improvements to handling resources embedded in modules. Here's a simple @dbatools.io REST API. It mostly wraps some of the get commands but will likely add some more soon. powershelluniversal.com/gallery/Powe...
PowerShellUniversal.API.dbatools - PowerShell Module
HTTP REST APIs for dbatools.
powershelluniversal.com
Reposted by dbatools 🚀
robsewell.com
#psconfeu starter pack for bluesky 🫶💜
go.bsky.app/3yWTwPy
Reposted by dbatools 🚀
jeremy-data.bsky.social
My fav starter packs so far, a thread:

stats: go.bsky.app/Ki7PjpS
stats: go.bsky.app/7TBN5rX
causal inference: go.bsky.app/FdemGAZ
package devs: go.bsky.app/N1569Qh
data peeps: go.bsky.app/8TdEfdK
medical stats: go.bsky.app/ArqEz36
bioinformatics: go.bsky.app/Ha64Gmv
r-ladies: go.bsky.app/Vgxwa2F
Reposted by dbatools 🚀
funbucket.dev
I made a 5-minute video for #DataPopkorn, hosted by @mikeybronowski.bsky.social!

In the video, I quickly show how you can use OpenAI's Structured Output and PowerShell to import data right from a PDF into SQL Server.

#OpenAI #PowerShell #SQLServer
Chrissy LeMaire - Importing unstructured data from PDF to SQL Server #DataPopkorn 2024
YouTube video by DataPopkorn
www.youtube.com