Last active
May 17, 2023 06:50
-
-
Save nickcox/032c5136b810f1c5e2c633ec99234c45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set environment variables from a file | |
cat ./vars.env | ConvertFrom-StringData |? Values -ne @{} |% {ni -Name $_.Keys -Value $_.Values -Path env: -Force} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment