I am attempting to copy a custom attribute field from my production vms to replica vms with the same name, just appended with _replica.
I am terrible at doing loops and not sure how to make it work.
This pulls the field but not sure how to apply them correctly after that.
Get-VM | $VM.CustomFields.Item("Creation Date")