Hi Community,
I need to assign the tag based on tag category in csv file. (http://www.virtu-al.net/2014/11/13/automating-tags-tag-category-creation-assignment-powercli/ )
1. I want to tag all the VMs where MktMgmt is the application.
2. Assign the role MktMgmt_role with AD group domain\MktMgmt_group to the tag Application:MktMgmt
This way I will be giving access to usergroup domain\MktMgmt_group on VMs where Application:MktMgmt is the tag.
Here is example CSV.
vc | vmname | tags_with_category |
VC01 | VM01 | ApplicationCategory:HR-stream,Owner:WindowsTeam,Application:HRmgmt,ProductOwner:abc |
VC02 | VM02 | ApplicationCategory:HR-stream,Owner:WindowsTeam,Application:HRmgmt,ProductOwner:abc |
VC03 | VM03 | ApplicationCategory:Mkt-stream,Owner:WindowsTeam,Application:MktMgmt,ProductOwner:xxx |
VC04 | VM04 | ApplicationCategory:HR-stream,Owner:WindowsTeam,Application:HRmgmt,ProductOwner:abc |
VC01 | VM05 | ApplicationCategory:Mkt-stream,Owner:WindowsTeam,Application:MktMgmt,ProductOwner:xxx |
VC02 | VM06 | ApplicationCategory:Fin-stream,Owner:LinuxTeam,Application:Finmgmt |
VC03 | VM07 | ApplicationCategory:Fin-stream,Owner:LinuxTeam,Application:Finmgmt |
VC04 | VM08 | ApplicationCategory:Fin-stream,Owner:LinuxTeam,Application:Finmgmt |
VC01 | VM09 | ApplicationCategory:Mkt-stream,Owner:WindowsTeam,Application:MktMgmt |