title: CSPack and CSRun for running site in azure emulator from powershell
body: <p>I have spend some time trying to get the cspack and csrun command working to run a website locally in the azure emulator.
  So far this is what I get, but its not working
  I use psake  </p>
  
  <pre><code>Task StartAzureEmulator { 
  &amp; 'C:\Program Files\Microsoft SDKs\Windows Azure\.NET SDK\v2.2\bin\cspack' sitename.azure\ServiceDefinition.csdef /out:Sitename.csx /role:sitename;sitename /sites:Vola;Web;Web /copyOnly
  &amp; 'C:\Program Files\Microsoft SDKs\Windows Azure\Emulator\csrun' sitename.csx sitename.Azure\ServiceConfiguration.Local.cscfg /useiisexpress /launchbrowser
  }
  </code></pre>
  
  <p>Basically I am not very impressed with how the azure commandline tools works with powershell.
  Has anyone got example of this working?</p>