Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to move a site collection from one content database to another content database. First I used the following PowerShell command:

New-SPContentDatabase -Name New_DB -WebApplication http://portal/

I confirmed that this did in fact create the DB in the SQL Server.

I then used the following command:

Move-SPSite http://portal/sites/hr -DestinationDatabase New_DB

This generates an error stating that the "Operation is not valid due to the current state of the object"

Can anyone help point me in the right direction with this?

Thanks

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.