title | description | services | author | ms.service | ms.topic | ms.date | ms.author | ms.custom |
---|---|---|---|---|---|---|---|---|
include file for PowerShell for Azure DNS |
include file for PowerShell for Azure DNS |
dns |
subsarma |
dns |
include file for PowerShell for Azure DNS |
04/28//2021 |
subsarma |
include file for PowerShell for Azure DNS, devx-track-azurepowershell |
[!INCLUDE requires-azurerm]
Verify that you have the following items before beginning your configuration.
- An Azure subscription. If you don't already have an Azure subscription, you can activate your MSDN subscriber benefits or sign up for a free account.
- You need to install the latest version of the Azure Resource Manager PowerShell cmdlets. For more information, see How to install and configure Azure PowerShell.
Open your PowerShell console and connect to your account. For more information, see Sign in with Azure PowerShell.
Connect-AzAccount
Check the subscriptions for the account.
Get-AzSubscription
Choose which of your Azure subscriptions to use.
Select-AzSubscription -SubscriptionName "your_subscription_name"
Azure Resource Manager requires that all resource groups specify a location. This location is used as the default location for resources in that resource group. However, because all DNS resources are global, not regional, the choice of resource group location has no impact on Azure DNS.
You can skip this step if you are using an existing resource group.
New-AzResourceGroup -Name MyDNSResourceGroup -location "West US"