Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.