Skip to content

Instantly share code, notes, and snippets.

@Jalalhejazi
Last active November 27, 2020 12:04
Show Gist options
  • Save Jalalhejazi/c850105a05df85207fbb21b7d1fc52be to your computer and use it in GitHub Desktop.
Save Jalalhejazi/c850105a05df85207fbb21b7d1fc52be to your computer and use it in GitHub Desktop.
# PowerShell code to run in PowerShell 7 console
$url="https://superusers-kursus-2020.westeurope-1.eventgrid.azure.net/api/events"
$secret="RDvN3YqgGBqjYPuj7MuwhWYuRIvnds+UV0yMI15pRVw="
[Environment]::SetEnvironmentVariable("event-grid-url", $url , 'User')
[Environment]::SetEnvironmentVariable("event-grid-key", $secret, 'User')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment