The following works fine. Copy-Item -Path C:\Users\Administrator\Desktop\EA\MT4\EA_bot.ex4 -Destination C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\0C2BFA140CA8FBEFEDCADDDEDD61AA24\MQL4\Experts\
However I want to do this for all directories that have the following wild carded, there are many instances: C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\*\MQL4\Experts\
Thank you,
I used * like in linux, that doesn't work in PS
I actually took this further, which might help others. This copies all
*.ex4or all*.ex5files to ALL instances of MT4 or MT5 at one time with two commands. It copies from my local computer to the VPS servers; I just save the files to MT4 or MT5 locally. I changed the paths just for the fun of it; don't use your desktop, as Microsoft syncs that to their cloud, and it just makes stuff run slow.