Created
April 4, 2020 13:59
-
-
Save mariolopjr/4b5535c01b8cbd963411c426a15a184a to your computer and use it in GitHub Desktop.
Create environment variable with PowerShell
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
$SSHPath = (Get-Command -Name 'ssh.exe').Source | |
[Environment]::SetEnvironmentVariable('GIT_SSH', $SSHPath, 'User') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment