Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何获取配置->;使用Powershell从Azure应用程序服务进行应用程序设置_Azure_Powershell_Azure Powershell_Azure App Service Envrmnt - Fatal编程技术网

如何获取配置->;使用Powershell从Azure应用程序服务进行应用程序设置

如何获取配置->;使用Powershell从Azure应用程序服务进行应用程序设置,azure,powershell,azure-powershell,azure-app-service-envrmnt,Azure,Powershell,Azure Powershell,Azure App Service Envrmnt,附加的屏幕截图来自AZURE中的应用程序服务 我正在尝试使用powershell代码获取所有应用程序设置值,如“ACCOUNT\u KEY”、“ACCOUNT\u NAME”、“app\u NAME” 请有人在这方面帮助我。如果您只想通过PowerShell从azure web获取应用程序设置,您可以使用命令来完成 $destination = Get-AzureRmWebApp -ResourceGroupName GroupName -Name WebName $destinationAp

附加的屏幕截图来自AZURE中的应用程序服务

我正在尝试使用powershell代码获取所有应用程序设置值,如“ACCOUNT\u KEY”、“ACCOUNT\u NAME”、“app\u NAME”


请有人在这方面帮助我。

如果您只想通过PowerShell从azure web获取应用程序设置,您可以使用命令来完成

$destination = Get-AzureRmWebApp -ResourceGroupName GroupName  -Name WebName
$destinationAppSettings = $destination.SiteConfig.AppSettings
$destinationAppSettings

如果您只想通过PowerShell从azure web获取应用程序设置,可以使用命令来实现

$destination = Get-AzureRmWebApp -ResourceGroupName GroupName  -Name WebName
$destinationAppSettings = $destination.SiteConfig.AppSettings
$destinationAppSettings

我不认为有一个直接命令可以通过Powershell检索appsettings,但是其他方法是使用

得到结果后,需要迭代$source.SiteConfig.AppSettings


下面是一个

我不认为有一个直接命令可以通过Powershell检索appsettings,但是其他方法是使用

得到结果后,需要迭代$source.SiteConfig.AppSettings


这是一个

对不起,我在同一时间键入了答案。对不起,我在同一时间键入了答案。有关于此问题的任何过程吗?有关于此问题的任何过程吗?