• Using PowerShell to manage Word documents


    Peter Deegan

    By Peter Deegan

    PowerShell for Word document management? Yes, of course. That’s something the plain old command prompt can’t handle.

    The more-complex and more-capable PowerShell can open Office apps (Word, Excel, or PowerPoint) to automate the making or editing of documents, sheets, or decks. Command prompt can do basic file management only. (As a little bonus, this article lists the DOS commands that still work in PowerShell.)

    The point of this article is to provide an “entry level” script for performing a basic document-management task. So let’s go through a PowerShell script that can deal with a Word document, while showing off some clever PowerShell commands.

    Read the full story in our Plus Newsletter (19.34.0, 2022-08-22).