This is quite a simple function that allows me to Invoke a PowerShell script in a URL. As you can see this is working in WinPE, but fails when I try to Install-Module. That's because PowerShell Gallery doesn't work in WinPE by default. I guess I need to read this first
Copy link