Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

Powershell Restore over another databse

$
0
0
Hi,

I am trying to script to restore over a DB, however this fails because it tries to over write the original database.

The script i have is as follows
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | O

Viewing all articles
Browse latest Browse all 467

Trending Articles