Skip to content

Releases: dataplat/dbatools

solaropposite

11 Mar 12:07
Compare
Choose a tag to compare

it's been a while, like 2019 a while. Thanks to everyone who has contributed over the years 🙇

Big ol shoutout to @lancasteradam, @andreasjordan, @jpomfret, @wsmelton, @nvarscar and @niphlod and everyone else who has continued to make dbatools awesome "in these uncertain times".

conroy

24 Jun 15:25
Compare
Choose a tag to compare

Fixed a bug with Add-DbaAgDatabase and named instances.

Get-DbaBackupHistory -> Get-DbaDbBackupHistory

23 Jun 08:39
Compare
Choose a tag to compare

Renamed and subsequently fixed an issue with the module manifest that removed Get-DbaBackupHistory. Now it is Get-DbaDbBackupHistory.

dbatools 1.0.1

21 Jun 09:06
Compare
Choose a tag to compare

Fixed a bug with Invoke-DbatoolsRenameHelper which renamed Get-DbaLogin to Get-DbaErrorLog

dbatools 1.0.0!

20 Jun 05:34
Compare
Choose a tag to compare

Please visit dbatools.io/1.0 for more information

terryfold

16 Dec 12:02
Compare
Choose a tag to compare

see dbatools.io/changelog

unity

01 Dec 23:22
Compare
Choose a tag to compare
  • Added xplat support!
  • Updated dbatools config system
  • Added Update-DbaInstance

dbatools.io/changelog

starsoldier

22 Nov 15:45
Compare
Choose a tag to compare

Detailed at more 1.0 progress and our new changelog!

regularlegs

06 Sep 21:10
Compare
Choose a tag to compare
regularlegs Pre-release
Pre-release

Marching onward to dbatools 1.0, a ton of commands have been renamed to align with our now mature naming scheme. These changes were made in today's release, version 0.9.411 aka regularlegs, now available on GitHub and the PowerShell Gallery.

Here's the general idea:

  • DbaDatabase has mostly been renamed to DbaDb with a couple exceptions
  • DbaSql has been changed to just Dba, no exceptions. Think of Dba as "Sql".
  • DbaConfig has been renamed to DbatoolsConfig
  • TempDbConfiguration has been renamed to TempdbConfig
  • All Configuration commands are Config except SpConfigure
  • DbaDacpac has been renamed to DbaDacPackage. Dac is the prefix for our data-tier application commands.
  • DbaDbQueryStoreOptions has been renamed to DbaDbQueryStoreOption

If you use the old name, it'll still work but will show a warning that the command name has been changed and its alias will be removed in 1.0

renaming

If you'd like help renaming dbatools scripts within your command, use the newly created function Invoke-DbatoolsRenameHelper, available in regularlegs. The screenshot below shows is what it looked like when I ran the this:

Get-ChildItem -Recurse C:\temp\community-presentations\*.ps1 | Invoke-DbatoolsRenameHelper | Out-GridView

Thanks, PowerShell! 😎

other updates

There are other cool updates with this release. In preparation for my doomsday prepping with dbatools presentation at SQLGLA, I created a new command, Export-DbaInstance, which I'll write more about in a future post.

In order for Export-DbaInstance to work well, I had to create a number of underlying commands, some of which may be of interest to you.

  • Get-DbaDbMail
  • Get-DbaDbMailAccount
  • Get-DbaDbMailProfile
  • Get-DbaDbMailConfig
  • Get-DbaDbMailServer
  • Export-DbaCredential
  • Export-DbaLinkedServer
  • Get-DbaResourceGovernor
  • Get-DbaRgResourcePool
  • Get-DbaRgWorkloadGroup
  • Get-DbaRgClassifierFunction
  • Get-DbaPbmCategory
  • Get-DbaPbmCategorySubscription
  • Get-DbaPbmCondition
  • Get-DbaPbmObjectSet
  • Get-DbaPbmPolicy
  • Get-DbaPbmStore

Also, Get-DbaTrigger has been removed and Get-DbaServerTrigger and Get-DbaDbTrigger have been added in its place. Unfortunately, there was no appropriate alias, so it was removed without an alias.

new website documentation coming soon

We'll soon be moving our documentation to a system that automatically generates docs from markdown! Expect to see that by next week. It'll be a great relief once released because keeping the website manually updated with all these changes is a near impossible task.

The command index will remain and be updated manually since it requires some categorization. That page also needs updating; I should have that done by Monday.

dbachecks

Recall that using old command names will show big ol yellow warnings and dbachecks uses a number of the renamed commands. So, dbachecks will be updated today, too, a couple hours after this email is sent out ✔

- Chrissy

sleepygary

25 Jun 14:19
Compare
Choose a tag to compare

It's been a while since the last release because we primarily focus on the PowerShell Gallery.

sleepygary is a nice and stable release that has a tons of bug fixes, over 400 commands, and newly beefed up snapshot commands. You can read more at dbatools.io/snapshots

Since the last release, we also created a bunch of awesome Extended Events commands. You can read more about the included these at dbatools.io/xevents. Chrissy and Gianluca also did a presentation at SQLBits about it. You can find the slides at sqlps.io/xecode.

Also included are a ton of perfmon commands (DbaPf), but those don't have an associated blog post yet.