Wiki PowerShell
Set environment variables permanently
[Environment]::SetEnvironmentVariable("VCPKG_ROOT", "Whatever you need it to be", "Machine")
Get environment variables
# Get all variables
[Environment]::GetEnvironmentVariable()
# Get specific variable
[Environment]::GetEnvironmentVariable("VCPKG_ROOT")