Patch a SQL Server instance automatically with PowerShell
In my last blog post I explained how to automatically download the last Service Pack and Cumulative Update for all versions of SQL Server.Here I will show you how to patch your SQL Server instances...
View ArticleInstalling Azure AZ Module on Windows
Since Azure (or AzureRM) module is marked as deprecated some years ago, AZ module is the official replacement to manage Azure resources with PowerShell. This module is running with at least PowerShell...
View ArticleMove secondary database files in SQL Server AG with PowerShell
For some circumstances, you may want to move data and log files for a database to a different location.Usually, this operation has to be made offline. But with an Availability Group (AG) environment,...
View ArticleMove SQL Server database files to different folders with PowerShell
In my previous post, I explained how to move SQL Server databases files programmatically by leveraging the high availability of an Availability Group (AG).But when you can afford to have a database...
View ArticleMake SQL Server services more secure with Managed Service Accounts
In the past years, I actively have been involved in securing MSSQL Instances (and other services).This lead me to use the Managed Service Accounts (MSA) and the grouped Managed Service Accounts...
View ArticleStarting with PowerShell 7 and parallelization
For the time being Windows PowerShell 5.1 is installed with Windows Server. It means that if you want to use or even test PowerShell 7 you need to install it by your own.To be honest, even if I’m...
View ArticleSet SQL Server Trace Flags Automatically and Smoothly
Managing SQL Server trace flags effectively is a common task for DBAs and system engineers, especially when tuning the SQL Server behavior for specific use cases or performance optimizations. While...
View ArticleHow to patch SQL Server instances with Qualys Patch Management
By one of our Customers, I have to use Qualys to patch their production SQL Server instances. And to be more precise the Qualys Patch Management application which provides a solution to manage...
View ArticleScaling SSRS Migrations: Multi-Threaded Automation for PBIRS 2025
Modernizing a reporting platform is a pivotal milestone for any BI infrastructure. Whether it’s a standard upgrade or a forced transition to Power BI Report Server (PBIRS) following the...
View ArticleSQL Server Snapshot Backup and Restore with Proxmox ZFS – Powershell...
In the previous section, we discussed the drawbacks of running the commands manually. Indeed, the manual process was taking too much time and could directly impact the database state while the freeze...
View Article