Delubear

u/Delubear


r/PowerShell•

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\*.*" 
84

r/Surface•

I picked up the Type Cover 2 last night, and the fact that it doesn't have volume controls like the original is a little disappointing. If I'm not worried about changing keyboard backlighting, anyone know of a way to remap those keys back to volume up and down?

63