Hi,
when I try to run wsl2ip2winhosts.ps1 it will always throw the error -

I've tried to set permissions on host file for EVERYONE to FULL CONTROLL but still receiving the same error. I can edit it via Notepad but not with PS :(.
How did you make it to edit host file by PS?