I want to update tags to all VMS in our tenant.
I only have vm names in the CSV/Excel format as input. However, I know the tags to be updated. Also we have existing tags attached to these VMS. I would want to add few tags to the VMS. How can I achieve this using powershell in one go.
For the command to get executed, it needs resourcegroup name and resourceid. How do we get this.