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 🚀
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
SEVEN MILLION+ downloads on the PowerShell Gallery! Thanks to everyone who helped make this happen 🤗
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
But how cool is it to have your software signed by @microsoft.com?

Also, check out that NotAfter and NotBefore, so short!
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
```
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
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
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.
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.
🎉 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
😌 oh good. Happy that was the issue after getting that notification!
Reposted by dbatools 🚀
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!
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 🚀
I’m getting so many ideas from this. And so little time.
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 🚀
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
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 🚀
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 🚀
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 🚀
Reposted by dbatools 🚀
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 🚀
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