The Windows Azure Software Development Kit (SDK) and the Windows Azure Training Kit (WATK)

Windows Azure is a platform that allows you to write software, run software, or use software that we’ve already written. We provide lots of resources to help you do that – many can be found right here in this blog series. There are two primary resources you can use, and it’s important to understand what…

2

PowerShell for the DBA: Search the Windows Event Logs for Errors

This is a very simple script – but it’s one I run each morning. It searches the Windows System Event Log for an error condition. You can replace “System” here with “Application” or “Security”, or any of the other logs that are created on your Windows Server. This is run at the server, since I…

2

PowerShell and Extended Properties

I use Extended Properties on databases and their objects all the time. They are a great way to include information about the object – I use them for versioning the database, detailing what a column is used for and so on. They can be a little tricky to set, but it’s really not bad once…

1

Check Script

Someone contacted me yesterday and said they were getting blocked when they tried to create a FileStream data column type. On investigation, I found they were Mirroring that database – and the two aren’t compatible. Which got me to thinking – it’s probably a good idea to make a “check script” as you investigate tacking…

0

Create and Track Your Own License Keys with PowerShell

SQL Server used to have  cool little tool that would let you track your licenses. Microsoft didn’t use it to limit your system or anything, it was just a place on the server where you could put that this system used this license key. I miss those days – we don’t track that any more,…

0

Open the SQL Server Error Log with PowerShell

Using the Server Management Objects (SMO) library, you don’t even need to have the SQL Server 2008 PowerShell Provider to read the SQL Server Error Logs – in fact, you can use regular old everyday PowerShell. Keep in mind you will need the SMO libraries – which can be installed separately or by installing the…

1

PowerShell – Show a Notification Balloon

In my presentations for PowerShell I sometimes want to start a process (like a backup) that will take some time. I normally pop up a notification “balloon” at the start, and then do the bulk of the work, and then pop up a balloon at the end to let me know it’s done. You can…

3

PowerShell: Read Excel to Create Inserts

I’m writing a series of articles on how to migrate “departmental” data into SQL Server. I also hold workshops on the entire process – from discovering that the data exists to the modeling process and then how to design the Extract, Transform and Load (ETL) process. Finally I write about (and teach) a few methods…

0