Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Tagging Azure VM

$
0
0

I tried adding tags to a VM present in Resource Group using the Cmdlet "Set-AzureResource". But this returns an error stating the resource doesn't exist. Although this resource is returned when i execute the command "Get-AzureResource". But when i execute the command  "Get-AzureResource" with parameter "-Name" it returns error stating the resource doesn't exist.

But am able to add tags to Resource Group using the command "Set-AzureResourceGroup" and similarly am able to retrieve the details using "Get-AzureResourceGroup" command. Is it possible to assign tags only to a Resource group?

Can anyone please let me know about this?

Thanks,

Anish


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>