Review and transition multiple SQL products to pay-as-you-go licensing with a single PowerShell script. Continuously enforce pay-as-you-go licensing for one resource type with Azure Policy. Changing a ...
# Use PowerShell to configure an active geo-replication failover group for a single Azure SQL database This PowerShell script example configures an active geo-replication failover group for a single ...
For as long as I can remember, I have always configured the computers within my own organization to store data on network servers as opposed to the data being stored on workstations. That way, if one ...
Sometimes you become the accidental DBA, or you are the DBA by choice. Either way, you can choose to spend time working in SQL Server Management Studio (SSMS) to look at things such as backups or the ...
A couple of months ago, I wrote an article on how to use PowerShell to back up a database within SQL Server Express Edition. Even though the technique that I described in that post works, the script ...
One way that organizations are storing data in the cloud is by moving their databases to the cloud. What once meant building an entire physical server, patching it, installing software like Microsoft ...
I’ve created a script that monitors a table in a SQL Server database. I’m only interested in one column in the table: TimeStamp. If the maximum (newest) value in TimeStamp is more than 30 minutes ...
Both scripts enrich discovered instances by reading the Windows registry remotely and export the results to CSV. They recognize SQL Server releases from legacy versions through SQL Server 2025 and ...
When I (along with many other people) had a lot of trouble trying to install SQL Server Management Studio in an attempt to switch from the SQL Server 2008 R2 evaluation to the free Express version, I ...
Editor's note: Adam Bertram originally wrote the article and Brien Posey expanded it. The PowerShell parameter is a fundamental component of most PowerShell scripts. Parameters make it possible to ...