Sunday, 1 August 2021

Create Tag in Azure Resource using New-AzTag

For Creating Tag in Azure Resource using New-AzTag use `New-AzTag` to apply tag on resource in **Azure**. ```powershell # Create Tag variable $tags = @{"Dept"="Finance"; "Status"="Normal"} # Get the resource that you want to appply tag on. $resource = Get-AzResource -Name "Application Insights Smart Detection" -ResourceGroup AdmissionApplication # Apply Tag New-AzTag -ResourceId $resource.id -Tag $tags ```| https://youtu.be/QTDDL8_0N3c| Full Stack Master

No comments:

Post a Comment