PowerTip: Use PowerShell to List Word Autocorrect Entries

Doctor Scripto

Summary: Use Windows PowerShell to list autocorrect entries for Microsoft Word.

Hey, Scripting Guy! Question Microsoft Word keeps messing up what I type, and I suspect it could be an autocorrect issue. How can I use
           Windows PowerShell to list all the entries in Microsoft Word autocorrect?

Hey, Scripting Guy! Answer Use the New-Object cmdlet to create an instance of the Word.Application object. Look at autocorrect
           and Entries, then pipe the results to the Format-Table cmdlet, and look at Name and Value properties:

(New-Object -ComObject word.application).autocorrect.entries | ft name, value

  

0 comments

Discussion is closed.

Feedback usabilla icon