dbatools ๐Ÿš€'s Avatar

dbatools ๐Ÿš€

@dbatools.io.bsky.social

Community driven SQL Server PowerShell module. Works on Windows, Linux and macOS.

963 Followers  |  35 Following  |  27 Posts  |  Joined: 29.04.2023  |  2.1104

Latest posts by dbatools.io on Bluesky

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.

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.

07.08.2025 10:34 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
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.

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.

But how cool is it to have your software signed by @microsoft.com?

Also, check out that NotAfter and NotBefore, so short!

07.08.2025 10:34 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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
```

07.08.2025 10:34 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
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...

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.

07.08.2025 10:34 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Trusted Publisher Checks for Azure Trusted Signing by jborean93 ยท Pull Request #25824 ยท PowerShell/PowerShell PR Summary Add support for checking the Azure Trusted Signing publisher identifier alongside the thumbprint. This check will verify whether the unique Azure TS OID present in the EKU is in any cert...

In PowerShell 7, we're looking forward to built-in support, hopefully coming soon. Shoutout to @jborean.bsky.social !

07.08.2025 10:34 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Import-Dbatools Import-Dbatools. GitHub Gist: instantly share code, notes, and snippets.

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:

07.08.2025 10:34 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
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.

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.

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.

07.08.2025 10:34 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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.

07.08.2025 10:34 โ€” ๐Ÿ‘ 3    ๐Ÿ” 3    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
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. โ€ฆ

๐ŸŽ‰ 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.

07.08.2025 10:34 โ€” ๐Ÿ‘ 18    ๐Ÿ” 9    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 1
Preview
dbatools Backup-DbaDatabase -ReplaceInName Recently I was reading the docs for `Backup-DbaDatabase` and found a parameter I didn't realise existed, but is so useful when you want to automate backups, but keep control of the file names.

I wrote a new post about a specific parameter on Backup-DbaDatabase that I didn't know existed.

The @dbatools.io module always amazes me, even though I use it everyday!

jesspomfret.com/dbatools-bac...

18.04.2025 12:28 โ€” ๐Ÿ‘ 7    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

๐Ÿ˜Œ oh good. Happy that was the issue after getting that notification!

14.03.2025 14:34 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Getting SQL Server Version using dbatools Time to read: ~ 4 minutes Words: 730 The Initial IssueChecking under the functionโ€™s hoodUsing a dictionary insteadShift left?Using dbatoolsConnect-DbaInstanceGet-DbaDatabaseEnd I will discussโ€ฆ

Getting #SQLServer Version using @dbatools.io

#SqlBlog #PowerShell

nocolumnname.blog/2025/03/06/g...

06.03.2025 13:01 โ€” ๐Ÿ‘ 0    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
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.

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...

24.02.2025 20:59 โ€” ๐Ÿ‘ 3    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Hamburg PowerShell User Group #40 - AI, Wed, Jan 29, 2025, 7:00 PM | Meetup Das nรคchste Treffen der Hamburg PowerShell User Group findet am 29.01.2025 um 19:00 Uhr statt und ihr seid herzlich eingeladen! (Verschoben vom 22.01.25) Das Treffen finde

โš ๏ธ Attention #HHPSUG #PowerShell people โš ๏ธ

Our Hamburg PowerShell User Group today was hit by flu season and we have to move it to next week.

๐Ÿ“†New date & time: 29.01.25 19:00 CET

Hope to see you all then.

www.meetup.com/hamburg-powe...

CC @funbucket.dev

22.01.2025 12:39 โ€” ๐Ÿ‘ 4    ๐Ÿ” 6    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 2

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!

20.01.2025 14:38 โ€” ๐Ÿ‘ 4    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Iโ€™m getting so many ideas from this. And so little time.

20.01.2025 11:09 โ€” ๐Ÿ‘ 4    ๐Ÿ” 3    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

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

20.01.2025 08:53 โ€” ๐Ÿ‘ 9    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
PowerShell Universal + dbatools!
YouTube video by Jess Pomfret PowerShell Universal + dbatools!

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...

20.01.2025 07:42 โ€” ๐Ÿ‘ 24    ๐Ÿ” 11    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 3

Lots of #SQLServer and #PowerShell on this list!

31.12.2024 15:33 โ€” ๐Ÿ‘ 3    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
PowerShellUniversal.API.dbatools - PowerShell Module HTTP REST APIs for dbatools.

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...

26.12.2024 21:05 โ€” ๐Ÿ‘ 17    ๐Ÿ” 6    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

#psconfeu starter pack for bluesky ๐Ÿซถ๐Ÿ’œ
go.bsky.app/3yWTwPy

08.11.2024 20:56 โ€” ๐Ÿ‘ 10    ๐Ÿ” 10    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

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

26.10.2024 19:23 โ€” ๐Ÿ‘ 280    ๐Ÿ” 135    ๐Ÿ’ฌ 19    ๐Ÿ“Œ 30
Chrissy LeMaire - Importing unstructured data from PDF to SQL Server #DataPopkorn 2024
YouTube video by DataPopkorn Chrissy LeMaire - Importing unstructured data from PDF to SQL Server #DataPopkorn 2024

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

28.10.2024 15:22 โ€” ๐Ÿ‘ 14    ๐Ÿ” 6    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
chatgpt solidly answering a question about DR

chatgpt solidly answering a question about DR

I like the responses so far, too ๐Ÿ˜Š

11.03.2024 11:51 โ€” ๐Ÿ‘ 5    ๐Ÿ” 2    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
ChatGPT - dbatools help Finds commands and assists with dbatools development

I created a GPT for #dbatools that helps with development, contributing AND finding commands! I uploaded our XML help file along with a few of my demos and SMO's XML file.

11.03.2024 11:48 โ€” ๐Ÿ‘ 4    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

After nearly 10 years, we've made it to 250 contributors! Thanks to all who have given their time to help make such a useful tool for the community ๐Ÿš€

10.03.2024 08:12 โ€” ๐Ÿ‘ 3    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Release v2.1.10 ยท dataplat/dbatools THIS RELEASE ADDRESSES TWO CVE'S This update addresses two CVE's, one in Microsoft.Data.SqlClient and one in Azure.Identity. Thanks to @garyhampson for the update on dbatools.library dataplat/dbato...

New release! dbatools.library has been updated to include newer versions of SqlClient and Azure.Identity. The updated versions fix CVE-2024-0056 and CVE-2023-36414, both of which are High Severity.

09.03.2024 11:11 โ€” ๐Ÿ‘ 1    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Post image

Time for @jpomfret.bsky.social to talk about replication in @dbatools.io @databristol

22.02.2024 18:35 โ€” ๐Ÿ‘ 10    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
dbatools loading in just 1 second.

dbatools loading in just 1 second.

New release! v2.1.5 is now out. Thanks to all who contributed. Have you checked out our import times lately? It's nice and fast, especially on macOS and Linux. github.com/dataplat/dba...

05.11.2023 18:03 โ€” ๐Ÿ‘ 9    ๐Ÿ” 7    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
EXPECTED ERROR: Update-Module dbatools Authenticode Issue for 2.1.0 ยท Issue #9090 ยท dataplat/dbato... TLDR: This error is expected and the change is legitimate. Just slap on the -SkipPublisherCheck parameter and continue your update. As people update over time, this should become less and less of a...

FINALLY! dbatools 2.1.0 is now out ๐Ÿฅณ

If you are running Update-Module, please check out this issue which basically says that industry requirements changed and now you have to use -SkipPublisherCheck for a little while.

21.09.2023 12:53 โ€” ๐Ÿ‘ 16    ๐Ÿ” 9    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

@dbatools.io is following 20 prominent accounts