Post #1621590
2026-04-17 23:49 UTC
Where the hell did irm-iex-ing come from? As in "irm <url> | iex"
Invoke-RestMethod in PowerShell has ALWAYS been a way to get objects out a website that exposes content as JSON, XML, etc.
Invoke-WebRequest is the one that gives you raw text back.
The fact that tools using irm-iex work at all is just a magic accident that converting an object (that's a string) into a string doesn't introduce any artifacts.
Replies (0)
No replies.