Need clarification on how to run this ....

Feb 24, 2011 at 10:13 PM


I'd like to just get a clarification on what are the exact steps to run this.  From what I gather this is what needs to happen:

1. Create SharePoint 2010 environment with web applications.

2.  Put a copy of the content DB on the SharePoint 2010 SQL server.

3. Run PS Commandlet Test-SPContentDatabase.  (Question:  I ran this "Test-SPContentDatabase -Name $DBName -WebApplication $url -showrowcounts >> $file" where $DBName is the 2007 content db, $url is the 2010 url - not the same as 2007, and $file is the report)

4. Copy your files to the 2007 server

5. Run your exe using the $file and name an output file

I am guessing that you require the 2010 url be the same as the 2007 url, correct?

Mar 2, 2011 at 10:19 AM

Yes is correct.

please note that

1) Test-SPContentDatabase -Name $DBName -WebApplication $url -showrowcounts >> $file should be just Test-SPContentDatabase -Name $DBName -WebApplication $url >> $file
The SPContentDatabase log file  is parsed using regular expressions, so i cannot ensure that using the -showrowcounts  param produces the same result  

2) You don't need to have the same url. Just make sure that when you copy the sharepoint 2007 content db into the 2010, the database name remains the same as posted here: