2 ms·
> & ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1 https://raw.githubusercontent.com/zoicware/
by jasonjayr 10mo ago
> & ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/main/RemoveWindowsAi.ps1 https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/m...")))
Finally, we can do 'curl https://host.com/script.sh https://host.com/script.sh | bash -' in Windows!
- delta_p_delta_x 10mo agoYes, that's called irm script.ps1 | iex Famously used in the Windows Activation Scripts.
- NSPG911 10mo agoim not exactly sure why they have chosen to execute as scriptblock, but normally, you can just do ``` irm <url> | iex ``` which essentially sends a request (curl) and runs everything (iex)