title: Azure Powershell Select-AzureSubscription with subscription id
body: <p>I am using Powershell Azure cmdlets to do some operation on each subscription I have.</p>
  
  <p><strong>However, all  my subscriptions have the same name.</strong> So if I do an operation like:</p>
  
  <pre><code>$subs | ForEach-Object {
      Select-AzureSubscription -Current -SubscriptionName $_.SubscriptionName
      $services = Get-AzureService
      Write-Output "$($services .Length) services under $($_.SubscriptionId) subscription"
  }
  </code></pre>
  
  <p>it always works for the same subscription because the subscriptions only differ in subscription ID.</p>
  
  <p>And the <code>Select-AzureSubscription</code> does not have a <code>-SubscriptionId</code> parameter.</p>
  
  <p>Any ideas how can I find a workaround?</p>