Advertisements

Archive

Posts Tagged ‘powershell tutorial’

PowerShell for Copy Database

March 25, 2013 13 comments

This is PowerShell tutorial script to understand how to copy existing database with PowerShell and SMO. We will be using Transfer Class from SMO. If you wish to just generate the copy script then there is an option to just script out the transfer using the ScriptTransfer method. When we are ready to bring the data and schema over, we can use the TransferData method. Read more…

Advertisements
%d bloggers like this: