Hi,
After modifying the environment variables, did you open up a new powershell window so that the changes would be included in the process? If not please close the powershell window, open a new one, and test again.
You can check current environment variables using below PS command:
dir env:
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP