Skip to content

Files

Latest commit

 

History

History
54 lines (37 loc) · 1.99 KB

dns-powershell-setup-include.md

File metadata and controls

54 lines (37 loc) · 1.99 KB
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

Set up Azure PowerShell for Azure DNS

Before you begin

[!INCLUDE requires-azurerm]

Verify that you have the following items before beginning your configuration.

Sign in to your Azure account

Open your PowerShell console and connect to your account. For more information, see Sign in with Azure PowerShell.

Connect-AzAccount

Select the subscription

Check the subscriptions for the account.

Get-AzSubscription

Choose which of your Azure subscriptions to use.

Select-AzSubscription -SubscriptionName "your_subscription_name"

Create a resource group

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"