We have about 200 documents that need a paragraph added that I'm looking to automate via PowerShell.
Each document does have an identical line of text that sits below where we want the paragraph added and I have managed to use the script to replace that line to add the paragraph I need.
However, this line is bold, so everything I replace with it becomes bold as well, which is not what we want.
I'm fairly new to PS and have spent several hours searching for a way to do this, but I haven't been able to make anything work yet.
Here is what I have so far:
$objWord = New-Object -comobject Word.Application
$objWord.Visible = $false
$list = Get-ChildItem "P:\Scripts\test\*.*"












