Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to create a new SharePoint 2010 farm using PowerShell. I use the following command:

New-SPConfigurationDatabase

When issuing this command (and providing the needed parameters) I get the following error:

New-SPConfigurationDatabase : This SharePoint farm currently has pending upgrades.
The cmdlet New-SPConfigurationDatabase cannot be executed until the upgrade is completed.

When running the "SharePoint 2010 Products Configuration Wizard" I'm able to create a farm.

I have a freshly installed Windows Server 2008 R2 with SQL 2008 R2 on the same box (it's a demo box) and the SharePoint 2010 binaries installed.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Have you tried:

psconfig -cmd upgrade -inplace b2b -wait –force

share|improve this answer
    
Thanks, that was it! I thought it wouldn't help to run this as I did not have a farm present yet. –  Thomas Vochten Jul 5 '10 at 13:17
add comment

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.