Software Engineering Life

Home

❯

notes

❯

Technology

❯

Programming

❯

Checking and Setting Environment Variables for the Session

Checking and Setting Environment Variables for the Session

Properties2
tagsstatus/🌱, type/snippet, topic/programming
aliases

Nov 18, 20251 min read

Checking and Setting Environment Variables for the Session

  • This is used on Visual Studio when running Entity Framework core migrations in the developer console
Get-ChildItem Env:
$env:ASPNETCORE_ENVIRONMENT = "Local" 
// $env:MY_VARIABLE = "MyValue"

Graph View

Backlinks

  • Checking and Setting Environment Variables for the Session
  • Programming
  • Prompt Library

Created with Quartz v5.0.0 © 2026

  • GitHub
  • Discord Community