# Set Subscription

**az cli:**

```
az account set -s <name or id>
```

**Powershell:**

```
Set-AzureSubscription -Id [Subscription ID]
```

Resources:  
[https://powerzure.readthedocs.io/en/latest/Requirements/requirements.html](https://powerzure.readthedocs.io/en/latest/Requirements/requirements.html)  
[https://stackoverflow.com/questions/38475104/azure-cli-how-to-change-subscription-default](https://stackoverflow.com/questions/38475104/azure-cli-how-to-change-subscription-default)