When using NSX a quite common task is applying tags to VMs. This can be done in several ways, in this post I´m showing how to accomplish that task via the RESTapi of NSX 4.1.2
The API calls and all other scripts in this post were run with these versions:
– VMware NSX Version 4.1.2.1.0.22667789