title: Azure DevOps: Copying files to az fileshare very slow
body: <p>When I mount an Azure Fileshare from my Azure DevOps pipeline and copy files to the file share via robocopy, this is with 80 Megabytes per minute (12 MBit/s) very slow:</p>
  
  <pre><code>               Total    Copied   Skipped  Mismatch    FAILED    Extras
      Dirs :       456       456       249         0         0         0
     Files :      4122      4122         0         0         0         0
     Bytes :   2.809 g   2.809 g         0         0         0         0
     Times :  18:36:49   0:35:04                       0:00:00   0:01:10
     Ended : Wednesday, January 29, 2020 11:52:31 PM
  </code></pre>
  
  <p>I use a <code>StorageV2</code> account. Azure DevOps and the storage account are in different regions. This is the robocopy command I use:</p>
  
  <pre><code>robocopy ..\my_directory z:\my_directory /E /NS /NC /NP /XD .git /MT:32 /W:5
  </code></pre>
  
  <p>... and this is how I have mounted the azure fileshare inside the pipeline:</p>
  
  <pre><code>New-PSDrive -Name $(storage.drive) -PSProvider FileSystem -Root "$(storage.unc)" -Persist
  </code></pre>
  
  <p>Is this normal? How can I make it significantly faster?</p>