I wanted to create an Environment Variable that's stored system-wide.
What I've used in Powershell:
$Env:MyVar = 'Some value'
With gci Env: I can confirm, that the variable has been created successfully.
However it was still missing in the Advanced System Settings in Windows (Win11).
How do I set it up to be visible in that menu?