The appears to overwrite the first two <DisplayString> elements each time that it runs. For example, if we were to run the cmdlets 5 times against the following queues:
Queue1
Queue2
Queue3
Queue4
Queue5
The following XML will result:
<DisplayStrings>
<DisplayString ElementID="WorkItemGroup.5c7da42451824ff88c3193cb569adb0d">
<Name>Queue5</Name>
</DisplayString>
<DisplayString ElementID="WorkItemGroup.5c7da42451824ff88c3193cb569adb0d.Discovery">
<Name>Queue5_Discovery</Name>
<Description>Discovery for Queue5</Description>
</DisplayString>
</DisplayStrings>
This is not an initial on the initial run, due to the fact that the Queue objects are generated with the appropriate Queue name. However, if you were to delete the MP and reimport, then Queue names would show up as the raw elementID (ex: WorkItemGroup.5c7da42451824ff88c3193cb569adb0d).
Queue1
Queue2
Queue3
Queue4
Queue5
The following XML will result:
<DisplayStrings>
<DisplayString ElementID="WorkItemGroup.5c7da42451824ff88c3193cb569adb0d">
<Name>Queue5</Name>
</DisplayString>
<DisplayString ElementID="WorkItemGroup.5c7da42451824ff88c3193cb569adb0d.Discovery">
<Name>Queue5_Discovery</Name>
<Description>Discovery for Queue5</Description>
</DisplayString>
</DisplayStrings>
This is not an initial on the initial run, due to the fact that the Queue objects are generated with the appropriate Queue name. However, if you were to delete the MP and reimport, then Queue names would show up as the raw elementID (ex: WorkItemGroup.5c7da42451824ff88c3193cb569adb0d).