Initialize-EPiDatabase CommandNotFoundException

Vote:
 

I have created a blank EPiServer website and upgraded to latest version 9.6.1

I have created a blank database and tried running the command although get the following error

PM> Initialize-EPiDatabase
Initialize-EPiDatabase : The term 'Initialize-EPiDatabase' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Initialize-EPiDatabase
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Initialize-EPiDatabase:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 

Have i missed a step ?


Thanks


Minesh

#143861
Feb 02, 2016 13:01
Vote:
 

Closing and Re-opening Visual Studio seems to have fixed this

Thanks EPiServer Support providing the following article : http://stackoverflow.com/questions/9674983/the-term-update-database-is-not-recognized-as-the-name-of-a-cmdlet

#143862
Feb 02, 2016 13:04
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.