How can I display environment variables in PowerShell, and be able to distinguish between which ones are "user" vars and which ones are "system" vars?
|
feedback
|
|
Not a powershell pro, but at worst, you could go fish around in the registry to see whether the vars you're interested in are showing up there. Inside a given session, I'm not really sure there's any distinction between user/sys vars other than the registry storage location... Pertinent keys are: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment HKEY_CURRENT_USER\Environment | |||||
feedback
|
|
To find out within PowerShell:
| |||
|
feedback
|
