dbatoolshas a lot of functions. A lot. Over 550. There is a great command index on the website, and the documentation gets updated every time a new version is published. But sometimes, it feels like you can’t find what you need unless you already know the name of the thing you’re looking for. Other times, you might start writing your own wrapper around
dbatoolsfunctions, or maybe start a new function from scratch, because it seems like the functionality you need isn’t there.
Read on to see how it works and a couple of examples.