Quantcast
Browsing latest articles
Browse All 29 View Live

Image may be NSFW.
Clik here to view.

Replication: Initialize with Backup

Sometimes your DB is so big you need to initialize replication with a backup and restore instead of a snapshot. Here I show you how to do it. I don’t go into any replication basics, but I do give a...

View Article


Regex: Removing Restore Statement Dupes

This is a great video to show you how to think in a way that gets you a good regex. Here I’ve got SQL restore statements that need to be kept while others need to be deleted. I’m going to show you how...

View Article


Beginning Powershell for DBAs: Part 1

The time has come where DBAs can no longer afford to ignore Powershell. Not only has it become an integral part of SQL Server, but we’re being asked to do things on a much grander scale than ever...

View Article

Loading SQL Data From Powershell

Learn how to load data into and out of SQL Server using PowerShell. We go beyond the basics and use .NET and

View Article

Beginning SQL Server SMO

Recently I was invited to talk about beginning SMO on the SQL Undercover podcast. So I put together a tutorial to teach SMO in PowerShell from the very beginning. This isn’t a PowerShell tutorial; it’s...

View Article


Powershell Error Handling Basics

This is a live session where I teach someone the basics of PS error handling. Here’s the 2nd vid in the series. Powershell Error Handling Basics 2

View Article

Powershell Error Handling Basics 2

Continuing with our discussion on PS error handling. Watch the first vid here: Powershell Error Handling Basics – MidnightDBA

View Article

Classes in Powershell: Part 1

Ever want to create your own classes in powershell? Ever wonder what a class is? Here I’m teaching a live session that explains what classes are, and the basics of creating classes.This is the 1st...

View Article


Powershell Classes: Part 3

This is part 3 of our series on how to create classes in powershell.We start by going over homework and then get into hidden classes and creating a fire hazard in our code. Watch Part 1Watch Part 2  

View Article


Microsoft SQL Server – Powershell Splatting

Help keep your command code organized by splatting parameters. Here I show how to splat a colored help file to make it really easy to change colors if you want. JOIN OUR NEWSLETTER!...

View Article
Browsing latest articles
Browse All 29 View Live