I'm trying to get a Powershell Script working that needs to update all fields I have in Header and Footers of all pages. But even after hours of research, I don't get any farther than being able to update the fields in the main text. Sure, that is really useful and everything and I am using it as well, but I would also like to update the fields in the headers.
I'm afraid I can't be of much help other than showing you the snippet I have that updates all my fields in the document. So here goes that.
objWord = New-Object -ComObject word.application
$objWord.ActiveDocument.Fields.Update()
So, please, help.