It works. The 2022 scripts are still functional today because the underlying exploit was never fully patched—only the distribution channels were shut down.
irm https://github.com/example-fake-url/activate.ps1 | iex windows activation text 2022 github