AveYo / MediaCreationTool.bat

Universal MCT wrapper script for all Windows 10/11 versions from 1507 to 21H2!
MIT License
8.99k stars 3k forks source link

mediacreationtool.bat Script not working and I tried to run it as a ps1 file instead. in powerscript 5 and 7. #308

Open geekpros opened 11 months ago

geekpros commented 11 months ago

I can't get this to work but the links in the script work fine. I could not get this to run without errors as a batch file so I changed it to a power script file and I get a different error after I set-executionpolicy unrestricted. Am I doing this wrong? I'm shooting at straws now but here is the error I get running the script directly from powerscript. Seems the interpreter is reading the parenthesis and doesn't recognize the double quotes. Like I'm probably doing this wrong. Most of the answers up here are very vague and incomplete. They expect I knew how to do this last year and use that method on the last post.

PS C:\users\geekpros\desktop\Media Creation Tool by version> .\mediacreationtool.ps1 At C:\users\geekpros\desktop\Media Creation Tool by version\MediaCreationTool.ps1:285 char:78

AveYo commented 11 months ago

What is the OS language and version you are running the script from?