Hi JeffreyOhl,
Welcome to Microsoft Office Community Forum. Thank you for sharing your concern with us today and we hope that all is well.
We understand that you are having issues running script in PowerShell. Let’s us check on this together and sort this out. Rest assured, we will do anything in our capability to assist you with your concern.
However, we’d like to know more about it in details so that we can provide a more accurate resolution for you. To start, please provide us information on the following questions:
Windows Version and Edition?
I found an articlewhich is somehow related to your concern, this maybe an old post lets see if this helps.
We look forward to your response. If you have other clarifications about this matter, you can get back to us by replying to this post.