Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env pwsh
# Interactive BYOM launcher for GitHub Copilot CLI (PowerShell edition).
#
# ./run_copilot_foundry.ps1
#
# Walks every Azure AI Foundry (Cognitive Services / AIServices) resource you
# can see, lists their model deployments, and lets you pick one. It then mints a
# short-lived Entra (Azure AD) bearer token scoped to Cognitive Services, sets
# the COPILOT_* provider variables, and launches Copilot in that context. When
# Copilot exits, the COPILOT_* variables are cleared again.
@da5is
da5is / network-watcher-template.json
Created February 2, 2021 18:43
Network Watcher ARM Template
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"networkWatcherName": {
"defaultValue": "networkwatcher",
"type": "String"
}
},
"variables": {},

Keybase proof

I hereby claim:

  • I am da5is on github.
  • I am da5is (https://keybase.io/da5is) on keybase.
  • I have a public key ASDGRnsrjskyN-SanAzfDZHoIMHRck7H8XUcjFFn-yNafQo

To claim this, I am signing this object: