Write Your first Pester Test Today
I was in Glasgow this Friday enjoying the fantastic hospitality of the Glasgow SQL User Group @SQLGlasgow and presenting sessions with Andre Kamman, William Durkin and Chrissy LeMaire I presented...
View ArticleUsing the PowerShell AST to find a ForEach Method
In dbachecks we enable people to see what checks are available by running Get-DbcCheck. This gives a number of properties including the ‘type’ of check. This refers to the configuration item or...
View ArticleDeploying To a Power Bi Report Server with PowerShell
Just a quick post to share some code that I used to solve a problem I had recently. I needed to automate the deployment of some Power Bi reports to a Power Bi Report Server PBRS using TFS. I had some...
View ArticleGetting SQL Services, Starting, Stopping and Restarting them with dbatools
There was a question in the #dbatools slack channel Getting dbatools dbatools enables you to administer SQL Server with PowerShell. To get it simply open PowerShell runInstall-Module dbatoolsYou can...
View ArticleUsing the same Azure DevOps build steps for Terraform with different...
In my last post I showed how to build an Azure DevOps Pipeline for a Terraform build of an Azure SQLDB. This will take the terraform code and build the required infrastructure. The plan all along has...
View ArticleUsing Azure DevOps Build Pipeline Templates with Terraform to build an AKS...
In the last few posts I have moved from building an Azure SQL DB with Terraform using VS Code to automating the build process for the Azure SQL DB using Azure DevOps Build Pipelines to using Task...
View ArticleRunning Jupyter Notebooks as Agent Jobs
Azure Data Studio is a great tool for connecting with your data platform whether it is in Azure or on your hardware. Jupyter Notebooks are fantastic, you can have words, pictures, code and code...
View ArticleSending a SQL Agent Job results overview to a Microsoft Teams Channel
Microsoft Teams is fantastic for collaboration. It enables groups of people, teams if you like to be able to communicate, collaborate on documents, hold meetings and much much more. SQL Agent Job...
View ArticleNotifying a Teams Channel of a SQL Agent Job result
Following on from yesterdays post about creating an overview of SQL Agent Job Results and sending it to a Teams channel, I was given another challenge Can you write a job step that I can add to SQL...
View ArticleCreating Azure SQL Database AAD Contained Database Users with an SPN using...
Following on from my posts about using Secret Management Good bye Import-CliXml and running programmes as a different user, I have another use case. After creating Azure SQL Databases in an Elastic...
View Article