title: Execute .SQL in PowerShell
body: <p>I wanted to know how I can run a .sql file which contains several queries in powershell</p>
  
  <p><a href="https://i.stack.imgur.com/4vjP1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4vjP1.png" alt="enter image description here"></a></p>
  
  <p>What I need is that through the command console of powershell, execute this .sql file and start creating the db with its respective tables from the querys that has this file, I understand that in linux I can do it, but I would like to know how to do it in powershell </p>
  
  <p>from now on thanks</p>