- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the difference between the New-AZTag and Update-AZTag command in Azure PowerShell?
New-AZTag
When we use the New-AZTag command, it removes all the tags from the particular resource and adds a new tag. This command is generally helpful when we are creating a new resource and we want to apply the tag for it.
Update-AZTag
When we use the Update-AZTag command, it updates, deletes, and replaces the Azure tags. We need to make sure that when we are applying the tag to any existing resource which is already tagged, the Update-AZTag command should be used otherwise New-AZTag command will remove all the previous applied tags and it will add new tags.
- Related Articles
- Difference Between ALTER and UPDATE Command in SQL
- What is the difference between ls() command and objects() command in R?
- Difference between Write-Output and Write-Host command in PowerShell?
- What is the difference between Dictionary and HashTable in PowerShell?
- How to add the new tag to Azure VM using PowerShell?
- What is the difference between $ErrorActionPreference and $ErrorAction cmdlet in PowerShell ?
- What is the difference between MySQL TRUNCATE and DELETE command?
- How to log in to the Azure account using Az CLI command in PowerShell?
- What is the use of update command in SQL?
- How to get the update domain count of the Azure Availability set using PowerShell?
- What is the difference between –Match, -Like and –Contains Operator in PowerShell?
- What is the significant difference between MySQL TRUNCATE and DROP command?
- What is the difference between new operator and object() constructor in JavaScript?
- What is the use of Get-Process command in PowerShell?
- How to create a new Azure resource group using PowerShell?

Advertisements