EPISODE · May 22, 2012 · 7 MIN
Calling Detach Methods in Powershell
from Midnight DBA
Detaching DBs in Powershell is pretty easy, which is why you should learn how to do it. It takes less typing than the t-sql version. However, there are also methods for discovering which files belong to the DB that was detached and that can be invaluable when you're trying to attach a DB on a big server and you don't know where all the files may be.
What this episode covers
Detaching DBs in Powershell is pretty easy, which is why you should learn how to do it. It takes less typing than the t-sql version. However, there are also methods for discovering which files belong to the DB that was detached and that can be invaluable when you're trying to attach a DB on a big server and you don't know where all the files may be.
NOW PLAYING
Calling Detach Methods in Powershell
No transcript for this episode yet
Similar Episodes
Jul 17, 2026 ·102m
Jul 14, 2026 ·121m
Jul 10, 2026 ·92m