Update Get-AzureSql-Configuration.ps1
This commit is contained in:
Родитель
42a039e838
Коммит
1b5a925217
|
@ -41,7 +41,7 @@ foreach ($Subscription in $Global:Subscriptions) {
|
|||
|
||||
#Region Azure SQL
|
||||
$SqlServers = Get-AzSqlServer
|
||||
$Databases = $SqlServers | Get-AzSqlDatabase | ? {$_.DatabaseName -ne "Master" -and $_.Edition -ne "DataWarehouse"}
|
||||
$Databases = $SqlServers | Get-AzSqlDatabase | ? {$_.DatabaseName -ne "Master" -and $_.SecondaryType -ne "Geo" -and $_.Edition -ne "DataWarehouse"} # Exclude Secondary SQL Server and Dedicated SQL pool
|
||||
$pe = Get-AzPrivateEndpoint
|
||||
|
||||
foreach ($Database in $Databases) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче