Skip to content

Instantly share code, notes, and snippets.

@mjul
Created July 13, 2018 11:50
Show Gist options
  • Save mjul/bbd915ef932603660544e9d317bcd2eb to your computer and use it in GitHub Desktop.
Save mjul/bbd915ef932603660544e9d317bcd2eb to your computer and use it in GitHub Desktop.
Azure: list application settings from PowerShell
$apiVersion = "2018-02-01"
$resourceGroup = "sandbox-martinj"
$rname = "sandbox-GraphQLApi";
Invoke-AzureRmResourceAction `
-ApiVersion $apiVersion `
-ResourceGroupName $resourceGroup `
-ResourceType "Microsoft.Web/sites/config/appsettings" `
-ResourceName $rname `
-Action list `
-Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment