←back to thread

RemoveWindowsAI

(github.com)
71 points hansmayer | 3 comments | | HN request time: 0.848s | source
1. jasonjayr ◴[] No.46259803[source]
> & ([scriptblock]::Create((irm "https://raw.githubusercontent.com/zoicware/RemoveWindowsAI/m...")))

Finally, we can do 'curl https://host.com/script.sh | bash -' in Windows!

replies(2): >>46260155 #>>46260161 #
2. delta_p_delta_x ◴[] No.46260155[source]
Yes, that's called

  irm script.ps1 | iex
Famously used in the Windows Activation Scripts.
3. NSPG911 ◴[] No.46260161[source]
im 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)