Skip to content
Tracy Boggiano's Blog

Tracy Boggiano's Blog

Musing on more than data, trying to make a difference somewhere…

  • Home
  • About Me
  • Presentations
  • Events
  • DEI Virtual Group
  • Speaking Mentors
  • TriPass
  • WITspiration
  • Mental Health Resources
  • DBA Resources

Category: PowerShell

  • Home
  • PowerShell
Automation PowerShell

Using Azure Automation and Runbooks to Run Azure SQL Database Maintenance Tasks

June 6, 2023June 23, 2023By Tracy Boggiano

I’ve been using Azure SQL Database for quite some while and have set up it in many various ways to run Ola’s Index Optimize and Statistics Updates on them.  All of these have seemed way too complicated probably because I was setting them up once, not again for several more

Automation PowerShell Scripts

Run Glenn Alan Berry’s Diagnostic Notebooks Everywhere

July 26, 2022July 25, 2022By Tracy Boggiano

As part of starting a new job, you need a way to get a good inventory of basic information about SQL Server instances.  Once you have done what I outlined in this blog post.  I find it helpful to run Glenn Alan Berry’s Diagnostic Notebooks against all the instances to

Security
PowerShell Security

Using dbachecks for CIS Security Checks

January 20, 2022January 22, 2022By Tracy Boggiano

Well back at the end of 2019 I finished writing most of the checks related to the CIS Center for Internet Security requirements.  I have yet to write a blog post on how to use them.  So, well here is how to go about using them, it’s mostly code so

PowerShell

Creating a PowerShell Module from a DBA’s Perspective

September 26, 2017October 21, 2017By Tracy Boggiano

Problem The last T-SQL Tuesday a lot of data professionals shared their favorite PowerShell scripts including functions, but some DBAs are new to PowerShell and don’t know how to use the functions.  So this post will cover how to create a PowerShell module so you can store the functions you

T-SQL Tuesday
Automation PowerShell Scripts

T-SQL Tuesday #94 – Automation Through PowerShell Checking the Status of AGs

September 12, 2017By Tracy Boggiano

This month Rob Sewell (Twitter | Blog) is hosting T-SQL Tuesday and wants us to automate more with PowerShell or at least learn PowerShell. My favorite thing to automate using PowerShell is checking on the status of things on multiple servers.  For example, after patching your environment running a quick

PowerShell Scripts Security

Enable SSL Encryption and Import Certificate for Multiple Instances of SQL Server using PowerShell

August 22, 2017August 14, 2017By Tracy Boggiano

A recent project involved setting up encrypted connections on all our SQL Servers. To this we would have to install a certificate in on the server and restart the SQL Server service. Direction on how to do this on an individual instance are provided by Microsoft.  We have test environments

Automation PowerShell

How to Install SQL Server PowerShell 2017 Remotely to Your Servers

June 27, 2017September 8, 2022By Tracy Boggiano

As part of upgrading our SQL Servers to 2017 CTP 2.1 we have a process that runs afterwards that uses Invoke-Sqlcmd cmdlet but with SQL Server 2017, SQL Server PowerShell 2017 is a separate install from the PowerShell Gallery.  So I wrote a process to that will install the SQL

Recent Posts

  • Looking Back at 2025: Volunteering Is My Way of Life January 9, 2026
  • Living with Chronic Suicidal Thoughts: A Personal Reflection November 20, 2024
  • MVP No more, But It’s OK July 12, 2024
  • Presenting at PASS Summit 2023 – Atomic Habits July 26, 2023
  • Twenty Years as a Guardian ad Litem June 26, 2023

Categories

  • Automation (24)
  • Exam Prep (9)
  • High Availability/Disaster Recovery (5)
  • Mental Health (14)
  • Miscellaneous (51)
  • Performance (14)
  • PowerShell (7)
  • Scripts (23)
  • Security (8)
  • SQLskills (1)
  • T-SQL Tuesday (32)
  • Training (4)
All Rights Reserved 2022.
Proudly powered by WordPress | Theme: Saya by Candid Themes.