Monitor AlwaysOn Availabilty Groups

Utilties

Use PowerShell to Install a Windows Service remotely

When installing a Windows Service remotely as a “Local Service” there are no credentials involved and this is a pretty straight forward  task. But if you need to have the service installed under the account of a local user or a domain user then this is somewhat tricky. The security credentials you create using the …

Use PowerShell to Install a Windows Service remotely Read More »

Find the specific sql server t-log to be restored for an unrecovered database

Recently when I needed to find the Transaction Log file that can be applied to a log shipping secondary database I decided to take a few moments and automate the process that I usually do in the old fashion manual way and that includes: 1. generating the restore log commands using a query over backupset …

Find the specific sql server t-log to be restored for an unrecovered database Read More »

Compressing SQL Server backups using 7Zip4Powershell

When maintaining client’s systems, I tend to pay extra attention about SQL Servers backups, being a ware that the data in most cases is the organization’s most important asset. With that in mind I always look for the extra layer of protection I can provide so that data is protected against any potential threat and …

Compressing SQL Server backups using 7Zip4Powershell Read More »

Generate graphs based on diskspd stress tests

Before moving forward be sure to have read this previous post that is the basis for the current post. This is the link to me GitHub diskspd project containing the relevant files discussed in these 2 blog posts mini serious. Working quiet often with diskspd it was only natural for me to automate the tiring …

Generate graphs based on diskspd stress tests Read More »

Using diskspd to test disk performance with SQL Server

This is the link to my GitHub diskspd project diskspd was designed as a storage testing tool and that basically mean test your SAN or NAS but not only SAN/NAS based disks, you can test any other disk, be it a DAS, a local drive on your server or your new laptop’s SSD (I always …

Using diskspd to test disk performance with SQL Server Read More »