I have added two Content Types to a List some of the Fields exist in both content types so I have got duplicate fields. The field which is added by the new Content Type is empty.
Now I want to iterate through all items and copy data from fields associated with the old content type to the fields which are associated with the new Content Type.
How Can I find out which field is associated to which content type using PowerShell?