TAGS not migrated when using PowerShell and mobilityGroups
search cancel

TAGS not migrated when using PowerShell and mobilityGroups

book

Article ID: 419341

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

  • When performing HCX mobility group migration with powerShell, then we don’t get the VM tags migrated.
  • When creating the Mobility group from GUI, then TAGS are migrated.

Resolution

As per powerCLI documentation, 
https://developer.broadcom.com/powercli/latest/vmware.vimautomation.hcx/commands/new-hcxmobilitygroupconfiguration

In order ot migrate tags, the following attribute has to be included in new-HCXMobilityGroupGonfiguration cmdlet syntax:  [-ReplicateSecurityTags < Boolean > ] -> "Specifies whether you want to replicate the security tags after the migration."