title: how to create folder and add file in azure web app using powershell
body: <p>I am trying to do a simple task of creating a folder in an azure web app and add a file in it. Here is what I've achieved so far and need some help with the right commands</p>
  
  <pre><code>Add-AzureAccount 
  Select-AzureRmSubscription -SubscriptionName 'Demo' 
  $webApp = Get-AzureRmWebApp -Name 'test--app' -ResourceGroupName 'TEST-POC-AUTOMATION'
  
  $webApp.&lt;CANT FIGURE OUT WHICH COMMAND&gt;
  
  $root = 'D:\home\site\wwwroot\webapps\ROOT'
  if (!(Test-Path $root)) 
  {
  md $root
  } 
  </code></pre>
  
  <p>I am trying to wonder if this is possible or i've to use KUDU API to achieve this. Appreciate any inputs.</p>