Hi @AATester
Thanks for writing and I'm happy to help you today regarding running your power shell script.
In case you want to run powershell.exe -File from the command line, you always have to set paths with spaces in double quotes ("").
Also try using the Grave Accent Character () PowerShell uses the grave accent (
) character as its escape character. Just add it before each space in the file name. (You’ll find this character above the Tab key and below the Esc key on your keyboard.)
WshShell.Run("powershell -file \"" + pathvar + "\*My ` Tests*\\PickupTest.ps1")
Here is a helpful page with information about Windows PowerShell
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/powershell
------------
--If the reply is helpful, please Upvote and Accept as answer.--