@D.R. Indeed, some tasks do just come down to writing PowerShell, and ultimately there’s a lot of flexibility there. If PowerShell isn’t your cup of tea, you can write scripts using C# with ScriptCS inside Octopus instead.
That said there are an increasing number of tasks appearing in our library that might cover your needs or provide a starting point. You can take these and copy them into your Octopus server to use in your deployment processes. I see items there for SQL, granting permissions, creating event sources, creating and scheduled tasks.
In the next 6 months making more of these tasks built-in to Octopus (less PowerShell) is one of our major goals.
Undeployment, not so much. Some aspects of that are easy, but some are hard, especially when it comes to databases. It’s one of those problems that’s extremely difficult to get 100% right and yet isn’t used all that frequently, so it hasn’t made it on to our roadmap.
Hope this helps!
Paul