I need help with the problem listed below

Hello, welcome back :wave:

Firstly, when posting code and errors, please use the </> button so that your code is formatted properly, easy to read, and easy to test.

All of your errors are due to the first one you receive, which is that PowerShell cannot find the COM class Word.Application - is Word installed on that computer?