I'm building some scripts that will check that items are localized to a particular branch of the content tree (we have lots of parallel tree structures and we want to copy between them) and can successfully retrieve all links/references an item contains using Get-ItemReference with the -ItemLink parameter.
Is there a command I can use on the links returned to update them to refer to different items?
The closest I can find is Update-ItemReferrer though this seems to be the reverse (updates items that point to a specific item) and also possibly deprecated (I get a no command found error, and the page in the gitbook has format issues https://doc.sitecorepowershell.com/appendix/common/update-itemreferrer )
So are the link/reference objects returned able to be updated directly, or do I need to use them to find the fields on the item itself and update there?