title: How to start Azure Storage Emulator in VS2017 agent in VSTS using YAML configuration file
body: <p>In my azure-pipelines.yml file, I have this task:</p>
  
  <pre><code>- task: VSTest@2
    inputs:
      platform: '$(buildPlatform)'
      configuration: '$(buildConfiguration)'
  </code></pre>
  
  <p>In my integration tests I use both MSQLLocalDB (that seems to work fine) and AzureStorageEmulator (that doesn't).</p>
  
  <p>I would like to try <a href="https://stackoverflow.com/a/51726177/182172">this answer</a>.</p>
  
  <p>How can I add these commands:</p>
  
  <pre><code>sqllocaldb create MSSQLLocalDB
  sqllocaldb start MSSQLLocalDB
  sqllocaldb info MSSQLLocalDB
  
  "C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator\AzureStorageEmulator.exe" start
  </code></pre>
  
  <p>to run before the test task to have a running instance of Azure Storage Emulator before the tests start?</p>