Environment Variables
# Set an environment variable
$Env:{Key} = "{Value}"
# List environment variables
Get-ChildItem Env:
# Remove an environment variable
$Env:{key} = $nullUnix -> PowerShell
Grep
findstrReference
💡
I work at Microsoft, but the views expressed here are my own and do not represent Microsoft's official positions, guidance, or content.