Tag Archives: powershell

Attaching All Databases with PowerShell–Finding My MDF Files

I wrote a PowerShell script recently to actually accomplish a task I that I needed. What’s more, this was the first time I thought that Powershell might prove more useful than other methods. This series looks at my script, and … Continue reading

Posted in Blog | Tagged , , , | Comments Off on Attaching All Databases with PowerShell–Finding My MDF Files

Attaching All Databases with PowerShell – The Overview

TL;DR Script is here: Git Hub Powershell Scripts. It’s the attachdbs.ps1 and will attach all databases in a folder to a SQL Server instance, if they don’t exist. I wrote a PowerShell script recently to actually accomplish a task I … Continue reading

Posted in Blog | Tagged , , , , | Comments Off on Attaching All Databases with PowerShell – The Overview

Powershell Tips–PSEdit

I got this from watching a session from Jeffrey Snover at TechEd. It was a neat trick, and it’s worked better than what I used to do. Editing files Suppose I have the ISE open and I want to edit … Continue reading

Posted in Blog | Tagged , | Comments Off on Powershell Tips–PSEdit

The Powershell Challenge Update

I’ve fallen down on my challenge over the last month. It’s been a content time, with me working more towards presentations and writing most of Mar and April to meet deadlines and commitments. I also let my calendar reminder die … Continue reading

Posted in Blog | Tagged , , , | 1 Comment