Environment variables are treated as an item of the Env drive in the PS drive.
PS C:\> cd env: PS Env:\> ls Name Value ---- ----- ALLUSERSPROFILE C:\ProgramData ～Abbreviated as follows～
Environment variables can be referenced in a simplified way without moving them to the Env drive.
PS C:\> $env:param value
Click here for a video explanation.
Last modified October 11, 2022: update (8216439)