diff --git a/AzureRM - Reconfigure Azure SQL Server Connection Policy Type.ps1 b/AzureRM - Reconfigure Azure SQL Server Connection Policy Type.ps1 index 14fea26..cf7da06 100644 --- a/AzureRM - Reconfigure Azure SQL Server Connection Policy Type.ps1 +++ b/AzureRM - Reconfigure Azure SQL Server Connection Policy Type.ps1 @@ -73,9 +73,9 @@ Write-Output "Current SQL Connection Policy Type = ${sqlCurrentConnectionPolicyType}" - $sqlNewConnectionPolicyType = "Proxy" # Valid values are "Default", "Proxy" and "Redirect" + $sqlNewConnectionPolicyType = ("Default", "Proxy" , "Redirect") | Out-GridView -Title "Select Mode to set" -PassThru Write-Output "New SQL Connection Policy Type = ${sqlNewConnectionPolicyType}" Set-AzureRmResource -ResourceId $sqlConnectionPolicyId -ApiVersion $apiVersion -Properties @{"connectionType" = "${sqlNewConnectionPolicyType}"} - \ No newline at end of file +