title: Requested value 'VS2015' was not found. - Azure powershell
body: <p>I am trying to get my slot info through azure powershell.</p>
  
  <p>To retrieve the info i used </p>
  
  <pre><code>Get-AzureWebsite -Name mywebsite -Slot staging
  </code></pre>
  
  <p>but azure powershell throws the below error:</p>
  
  <pre><code>Get-AzureWebsite : Requested value 'VS2015' was not found.
  At line:1 char:1
  + Get-AzureWebsite -Name mywebsite -Slot staging
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : CloseError: (:) [Get-AzureWebsite], ArgumentException
      + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Websites.GetAzureWebsiteCommand
  </code></pre>
  
  <p>When i try only with <code>Get-AzureWebsite -Name mywebsite</code> it perfectly shows data including slot names as</p>
  
  <pre><code>Name       : mywebsite
  State      : Running
  Host Names : {mywebsite.azurewebsites.net}
  
  Name       : mywebsite(staging)
  State      : Running
  Host Names : {mywebsite-staging.azurewebsites.net}
  
  Name       : mywebsite(dev)
  State      : Running
  Host Names : {mywebsite-dev.azurewebsites.net}
  </code></pre>
  
  <p>when i google this error <strong>"Requested value 'VS2015' was not found."</strong> i came across this <a href="http://www.brandonmartinez.com/2015/07/14/resolve-a-requested-value-vs2015-was-not-found-get-azurewebsite-error-in-powershell/" rel="noreferrer">link</a> and this author suggests that to <strong>remove remote debugger</strong> but no luck still i'm getting the error.</p>