Scripts

Look up AD user properties using powershell

I realize that this is a bit of a lengthy script for something that you can use a one liner in the power shell:

Example:

Get-ADUser

But I needed to highlight certain properties of given user and take certain actions based on the values. And the result is this power shell script.

2019-07-15 (first published: )

919 reads

Generate views to correct the column collation on a target DB's tables automatically

You find you are querying a vendor supported database where you're not allowed to make any collation changes, and which has a weird collation setup: default DB collation that matches your server and other databases all character related columns are explicitly a different collation that does not match your DB or server collation Rather than […]

2019-07-05 (first published: )

382 reads

Blogs

Continuous integration and delivery (CI/CD) in Azure Data Factory using DevOps and GitHub - PASS Video

By

(2019-Oct-23) Video recording of my webinar session on Continuous Integration and Delivery (CI/CD) in Azure...

Invest in Yourself Stop Making Excuses

By

Bob Pusateri (B|T) tweeted a quote image that really struck a chord with me...

Every Execution Plan Is An Estimated Plan

By

I consider myself to be the most responsible for making such a huge deal...

Read the latest Blogs

Forums

SQL Management studio 2014 express edition

By bokswager

Guys, Can I use SSMS 2014 Express edition to connect to a lower and...

unable access sql provider in powershell without running an invoke-sqlcmd first

By Steve T

I encountered a weird issue and hope that somebody may have a fix for...

Function to pad Bigint with leading zeros or other single characters

By Shane Clarke

Comments posted to this topic are about the item Function to pad Bigint with...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers