Azurepowershell

From Piszczynski
Revision as of 14:56, 8 December 2023 by Aleks (talk | contribs) (Created page with "== Get Info on Function Apps == Commands to find info on vnet usage of function apps: Get the function apps:<syntaxhighlight lang="powershell"> $functionApps = Get-AzFunctionApp -ResourceGroupName $resourceGroupName -Name $functionAppName </syntaxhighlight>go through each app to display the vnet and subnet it is attached to using the siteconfig info:<syntaxhighlight lang="powershell"> foreach($app in $functionApps){write-host "$($app.siteconfig.vnetname) $($app.name)"}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Get Info on Function Apps

Commands to find info on vnet usage of function apps:

Get the function apps:

$functionApps = Get-AzFunctionApp -ResourceGroupName $resourceGroupName -Name $functionAppName

go through each app to display the vnet and subnet it is attached to using the siteconfig info:

foreach($app in $functionApps){write-host "$($app.siteconfig.vnetname) $($app.name)"}