title: Defining the subscription of a new HDinsight cluster built from powershell
body: <p>I am working with azure powershell to spin up HDInsight Clusters. I have 2 subscriptions to work with, call them foo-bar and kitty-ipsum.</p>
  
  <p>If I call      </p>
  
  <pre><code> New-AzureRmHdInsightCluster -parameters
  </code></pre>
  
  <p>A new cluster will show up in the foo-bar subscription. 
  If I want to set one up in the kitty-ipsum subscription, I need to change the default or current subscription.</p>
  
  <pre><code>  Select-AzureSubscription "kitty-ipsum"
    New-AzureRmHdInsightCluster -parameters
  </code></pre>
  
  <p>should change the current subscription to kitty-ipsum , yet this still produces a cluster in foo-bar.</p>
  
  <p>What I need to know is how to create a new cluster with this other subscription. </p>
  
  <p>Looking into the issue, I found that there is work to make the subscription a parameter on New-AzureRmHdinsightCluster <a href="https://github.com/Azure/azure-powershell/issues/1102" rel="nofollow">https://github.com/Azure/azure-powershell/issues/1102</a> . This update might not be released for a while. </p>