title: How to scaffold Database in ASP.NET Core using Visual Studio Code
body: <p>I have tried using the following command ( which works fine if I use Visual Studio) :</p>
  
  <pre><code>Scaffold-DbContext "Server=12.345.567.890;Database=ABC;Trusted_Connection=True;User Id=xyz;Password=12345;Integrated Security=false;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -f
  </code></pre>
  
  <p>While trying the above command using Visual Studio code terminal, I get this error:</p>
  
  <blockquote>
    <p>The term 'Scaffold-DbContext' 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</p>
  </blockquote>