April 17, 2013

Subscribe

Find a Table with Powershell

by Scott Newman

Quick script to find which database a table resides in with powershell. This assumes you have a file named servers.txt that lists the servers that you’ll be searching. This uses SQLPSX as well. Easy as cake.