title: Package Manager Console Enable-Migrations CommandNotFoundException in visual studio pro s2017
body: <p>I tried to run the command 'Enable-Migrations' in the microsoft sample project <a href="https://docs.microsoft.com/en-us/ef/ef6/modeling/code-first/migrations/" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/ef/ef6/modeling/code-first/migrations/</a> with visual studio professional 2017, But I got the message:</p>
  
  <pre><code>PM&gt; Enable-Migrations
  The term 'Enable-Migrations' 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, verif
  y that the path is correct and try again.
  At line:1 char:18
  + Enable-Migrations &lt;&lt;&lt;&lt; 
      + CategoryInfo          : ObjectNotFound: (Enable-Migrations:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>
  
  <pre><code>1、I have tried the re-starting Visual Studio and re-install EntityFramework Packages using "Install-Package EntityFramework -IncludePrerelease" but these are invalid
  </code></pre>
  
  <pre><code>2、I have tried upgrade my powershell to 4.9.3.5777, but it is also invalid
  </code></pre>
  
  <pre><code>3、I have tried Import-Module ProjectPath\packages\EntityFramework.6.3.0\tools\EntityFramework6.psd1,but invalid
  </code></pre>
  
  <p>BTW,I am using EntityFramework6.3.0.</p>