PowerTip: Use PowerShell to List Word Autocorrect Entries


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

  

Comments (1)

  1. JJ says:

    How can I list an index with page numbers of words unknown to the dictionary in a word document?

Skip to main content