title: How can I t4 scaffold from powershell.exe?
body: <p>NuGet's PM console is great and all but you have to be in Visual Studio to use it. I have asked this question before without any ansewr and I find it hard to believe there is no documentation on the topic.</p>
  
  <p>I have two users: User A sell shoes, User B sells cars. Each have different property needs.
  If I allow them to write there needed properties/datatypes to their respective Product.cs entity, how can I use PowerShell.exe to:</p>
  
  <p>Scaffold the controller, views, dbcontext and repositories?</p>
  
  <p>I know I can do a MSBuild afterwards, but how is it there seems to be no way to use PowerShell from say a bat file to do the scaffolding outside VS 2010?</p>
  
  <p>Any insight would be appreciated.</p>