Skip to content

Instantly share code, notes, and snippets.

# Source: https://dev.to/ganesshkumar/pi-hole-in-azure-container-instances-4abf
# Download Azure CLI optionally
#Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .\AzureCLI.msi
cd $PSScriptRoot
$subscriptionId = "1231321332144" # shown after logging in with 'az login'
$rgName = "rg-pi-hole"