How To Grab Windows SIDs with PowerShell

How To Grab Windows SIDs with PowerShell

There are those times where you just need those SIDs, no matter what door you knock on. For those fateful times, you can use this snippet of code to grab the SID from a given target user.

read more

How To Generate MERGE statements with SQLCMD

How To Generate MERGE statements with SQLCMD

While it is usually a good idea to keep away from the injectionable fun of dynamic SQL, there are some cases where it does help you out a bit. One such example is generating code in your SSDT post deployment scripts.

read more