Az.Sql

1.13.1

Microsoft Azure PowerShell - SQL service cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core.

For more information on SQL, please visit the following: https://docs.microsoft.com/azure/sql-database/

Minimum PowerShell version

5.1

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Az.Sql -RequiredVersion 1.13.1

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Az.Sql -Version 1.13.1

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Microsoft Corporation

Tags

Azure ResourceManager ARM Sql Database

Cmdlets

Get-AzSqlDatabaseTransparentDataEncryption Get-AzSqlDatabaseTransparentDataEncryptionActivity Set-AzSqlDatabaseTransparentDataEncryption Get-AzSqlDatabaseUpgradeHint Get-AzSqlServerUpgradeHint Get-AzSqlServerServiceObjective Get-AzSqlServerActiveDirectoryAdministrator Remove-AzSqlServerActiveDirectoryAdministrator Set-AzSqlServerActiveDirectoryAdministrator Get-AzSqlServer New-AzSqlServer Remove-AzSqlServer Set-AzSqlServer Get-AzSqlServerCommunicationLink New-AzSqlServerCommunicationLink Remove-AzSqlServerCommunicationLink Get-AzSqlDatabaseSecureConnectionPolicy Get-AzSqlDatabaseReplicationLink New-AzSqlDatabaseCopy New-AzSqlDatabaseSecondary Remove-AzSqlDatabaseSecondary Set-AzSqlDatabaseSecondary Get-AzSqlElasticPoolRecommendation Get-AzSqlDatabaseIndexRecommendation Start-AzSqlDatabaseExecuteIndexRecommendation Stop-AzSqlDatabaseExecuteIndexRecommendation Get-AzSqlServerFirewallRule New-AzSqlServerFirewallRule Remove-AzSqlServerFirewallRule Set-AzSqlServerFirewallRule Get-AzSqlElasticPool Get-AzSqlElasticPoolActivity Get-AzSqlElasticPoolDatabase New-AzSqlElasticPool Remove-AzSqlElasticPool Set-AzSqlElasticPool Get-AzSqlServerDisasterRecoveryConfiguration Get-AzSqlServerDisasterRecoveryConfigurationActivity New-AzSqlServerDisasterRecoveryConfiguration Remove-AzSqlServerDisasterRecoveryConfiguration Set-AzSqlServerDisasterRecoveryConfiguration Resume-AzSqlDatabase Suspend-AzSqlDatabase Get-AzSqlDatabaseDataMaskingPolicy Get-AzSqlDatabaseDataMaskingRule New-AzSqlDatabaseDataMaskingRule Remove-AzSqlDatabaseDataMaskingRule Set-AzSqlDatabaseDataMaskingPolicy Set-AzSqlDatabaseDataMaskingRule Get-AzSqlCapability Get-AzSqlDatabase Get-AzSqlDatabaseActivity Get-AzSqlDatabaseExpanded New-AzSqlDatabase Remove-AzSqlDatabase Set-AzSqlDatabase Get-AzSqlDatabaseImportExportStatus New-AzSqlDatabaseExport New-AzSqlDatabaseImport Get-AzSqlDatabaseGeoBackupPolicy Set-AzSqlDatabaseGeoBackupPolicy Get-AzSqlDatabaseBackupShortTermRetentionPolicy Set-AzSqlDatabaseBackupShortTermRetentionPolicy Get-AzSqlDatabaseBackupLongTermRetentionPolicy Set-AzSqlDatabaseBackupLongTermRetentionPolicy Get-AzSqlDatabaseLongTermRetentionBackup Remove-AzSqlDatabaseLongTermRetentionBackup Get-AzSqlDeletedDatabaseBackup Get-AzSqlDatabaseGeoBackup Restore-AzSqlDatabase Get-AzSqlDatabaseRestorePoint Get-AzSqlDatabaseAuditing Get-AzSqlServerAuditing Set-AzSqlDatabaseAuditing Set-AzSqlServerAuditing Get-AzSqlDatabaseRecommendedAction Get-AzSqlElasticPoolRecommendedAction Get-AzSqlServerRecommendedAction Set-AzSqlDatabaseRecommendedActionState Set-AzSqlElasticPoolRecommendedActionState Set-AzSqlServerRecommendedActionState Get-AzSqlElasticPoolAdvisor Get-AzSqlServerAdvisor Set-AzSqlElasticPoolAdvisorAutoExecuteStatus Set-AzSqlServerAdvisorAutoExecuteStatus Get-AzSqlDatabaseAdvisor Set-AzSqlDatabaseAdvisorAutoExecuteStatus Get-AzSqlServerTransparentDataEncryptionProtector Set-AzSqlServerTransparentDataEncryptionProtector Add-AzSqlServerKeyVaultKey Get-AzSqlServerKeyVaultKey Remove-AzSqlServerKeyVaultKey Get-AzSqlDatabaseFailoverGroup New-AzSqlDatabaseFailoverGroup Add-AzSqlDatabaseToFailoverGroup Remove-AzSqlDatabaseFromFailoverGroup Remove-AzSqlDatabaseFailoverGroup Set-AzSqlDatabaseFailoverGroup Switch-AzSqlDatabaseFailoverGroup New-AzSqlSyncGroup Update-AzSqlSyncGroup Get-AzSqlSyncGroup Get-AzSqlSyncGroupLog Remove-AzSqlSyncGroup Update-AzSqlSyncSchema Get-AzSqlSyncSchema Start-AzSqlSyncGroupSync Stop-AzSqlSyncGroupSync New-AzSqlSyncMember Update-AzSqlSyncMember Get-AzSqlSyncMember Remove-AzSqlSyncMember New-AzSqlSyncAgent Get-AzSqlSyncAgent Remove-AzSqlSyncAgent New-AzSqlSyncAgentKey Get-AzSqlSyncAgentLinkedDatabase New-AzSqlServerVirtualNetworkRule Set-AzSqlServerVirtualNetworkRule Get-AzSqlServerVirtualNetworkRule Remove-AzSqlServerVirtualNetworkRule Stop-AzSqlDatabaseActivity Get-AzSqlServerDnsAlias Remove-AzSqlServerDnsAlias New-AzSqlServerDnsAlias Set-AzSqlServerDnsAlias New-AzSqlDatabaseRestorePoint Remove-AzSqlDatabaseRestorePoint Stop-AzSqlElasticPoolActivity Add-AzSqlServerTransparentDataEncryptionCertificate Add-AzSqlManagedInstanceTransparentDataEncryptionCertificate Update-AzSqlDatabaseVulnerabilityAssessmentSetting Get-AzSqlDatabaseVulnerabilityAssessmentSetting Clear-AzSqlDatabaseVulnerabilityAssessmentSetting Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline Get-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline Clear-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline Convert-AzSqlDatabaseVulnerabilityAssessmentScan Get-AzSqlDatabaseVulnerabilityAssessmentScanRecord Start-AzSqlDatabaseVulnerabilityAssessmentScan Get-AzSqlInstance New-AzSqlInstance Remove-AzSqlInstance Set-AzSqlInstance Get-AzSqlInstanceDatabase New-AzSqlInstanceDatabase Remove-AzSqlInstanceDatabase Restore-AzSqlInstanceDatabase Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting Get-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting Set-AzSqlInstanceDatabaseVulnerabilityAssessmentRuleBaseline Get-AzSqlInstanceDatabaseVulnerabilityAssessmentRuleBaseline Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentRuleBaseline Convert-AzSqlInstanceDatabaseVulnerabilityAssessmentScan Get-AzSqlInstanceDatabaseVulnerabilityAssessmentScanRecord Start-AzSqlInstanceDatabaseVulnerabilityAssessmentScan Enable-AzSqlInstanceAdvancedDataSecurity Disable-AzSqlInstanceAdvancedDataSecurity Get-AzSqlInstanceAdvancedDataSecurityPolicy Get-AzSqlInstanceDatabaseGeoBackup Get-AzSqlInstanceDatabaseBackupShortTermRetentionPolicy Set-AzSqlInstanceDatabaseBackupShortTermRetentionPolicy Get-AzSqlDeletedInstanceDatabaseBackup Update-AzSqlInstanceVulnerabilityAssessmentSetting Get-AzSqlInstanceVulnerabilityAssessmentSetting Clear-AzSqlInstanceVulnerabilityAssessmentSetting Update-AzSqlServerVulnerabilityAssessmentSetting Get-AzSqlServerVulnerabilityAssessmentSetting Clear-AzSqlServerVulnerabilityAssessmentSetting Get-AzSqlDatabaseSensitivityClassification Get-AzSqlInstanceDatabaseSensitivityClassification Set-AzSqlDatabaseSensitivityClassification Set-AzSqlInstanceDatabaseSensitivityClassification Remove-AzSqlDatabaseSensitivityClassification Remove-AzSqlInstanceDatabaseSensitivityClassification Get-AzSqlDatabaseSensitivityRecommendation Get-AzSqlInstanceDatabaseSensitivityRecommendation Get-AzSqlVirtualCluster Remove-AzSqlVirtualCluster Enable-AzSqlServerAdvancedDataSecurity Disable-AzSqlServerAdvancedDataSecurity Get-AzSqlServerAdvancedDataSecurityPolicy Get-AzSqlDatabaseInstanceFailoverGroup New-AzSqlDatabaseInstanceFailoverGroup Remove-AzSqlDatabaseInstanceFailoverGroup Set-AzSqlDatabaseInstanceFailoverGroup Switch-AzSqlDatabaseInstanceFailoverGroup Get-AzSqlServerAdvancedThreatProtectionSettings Clear-AzSqlServerAdvancedThreatProtectionSettings Update-AzSqlServerAdvancedThreatProtectionSettings Get-AzSqlDatabaseAdvancedThreatProtectionSettings Update-AzSqlDatabaseAdvancedThreatProtectionSettings Clear-AzSqlDatabaseAdvancedThreatProtectionSettings Add-AzSqlInstanceKeyVaultKey Get-AzSqlInstanceKeyVaultKey Remove-AzSqlInstanceKeyVaultKey Get-AzSqlInstanceTransparentDataEncryptionProtector Set-AzSqlInstanceTransparentDataEncryptionProtector Get-AzSqlServerAudit Get-AzSqlDatabaseAudit Set-AzSqlServerAudit Set-AzSqlDatabaseAudit Remove-AzSqlServerAudit Remove-AzSqlDatabaseAudit

PSEditions

Core Desktop

Dependencies

Release Notes

* Fix missing examples for Set-AzSqlDatabaseSecondary cmdlet
* Fix set Vulnerability Assessment recurring scans without providing any email addresses
* Fix a small typo in a warining message.

FileList

Version History

Version Downloads Last updated
6.0.0 245,741 11/19/2024
5.3.0 7,093,181 9/3/2024
5.2.0 1,924,814 8/6/2024
5.1.0 1,701,116 7/9/2024
5.0.0 4,636,958 5/21/2024
4.14.1 1,568,033 4/30/2024
4.14.0 5,395,510 2/6/2024
4.13.0 1,543,421 1/9/2024
4.12.0 1,655,328 12/5/2023
4.11.0 1,193,572 11/14/2023
4.10.0 5,080,650 9/5/2023
4.9.0 1,400,618 8/1/2023
4.8.0 1,199,292 7/4/2023
4.7.0 1,569,633 5/23/2023
4.6.0 2,295,087 4/25/2023
4.5.0 854,975 4/4/2023
4.4.0 1,163,127 3/9/2023
4.3.0 1,727,421 2/7/2023
4.2.0 1,282,959 1/10/2023
4.1.0 2,447,564 11/1/2022
4.0.0 978,837 10/17/2022
3.11.0 2,856,568 8/2/2022
3.10.0 716,368 7/5/2022
3.9.0 3,957,544 5/24/2022
3.8.0 4,297,918 4/5/2022
3.7.1 1,224,189 2/7/2022
3.7.0 714,227 1/4/2022
3.6.0 524,351 12/7/2021
3.5.1 2,699,363 10/12/2021
3.5.0 800,456 9/7/2021
3.4.1 697,770 7/15/2021
3.4.0 608,922 7/6/2021
3.3.0 13,319 6/23/2021
3.2.0 404,832 6/15/2021
3.1.0 416,467 5/25/2021
3.0.0-preview 724 3/27/2021
2.17.1 3,557,395 4/13/2021
2.17.0 681,576 3/23/2021
2.16.0 1,451,671 2/9/2021
2.15.0 1,662,446 1/19/2021
2.14.0 1,478,890 12/29/2020
2.13.0 1,401,240 12/8/2020
2.12.0 1,646,783 11/17/2020
2.11.1 1,721,898 10/27/2020
2.11.0 3,496,506 9/27/2020
2.10.1 1,607 9/24/2020
2.10.0 264,761 9/22/2020
2.9.1 2,432,330 8/4/2020
2.9.0 371,811 7/14/2020
2.8.0 534,225 6/23/2020
2.7.0 403,105 6/2/2020
2.6.1 343,465 5/19/2020
2.6.0 2,026,791 4/21/2020
2.5.0 305,674 3/16/2020
2.4.0 373,651 3/10/2020
2.3.0 406,901 2/18/2020
2.2.0 654,869 2/4/2020
2.1.2 387,513 1/7/2020
2.1.1 329,941 12/17/2019
2.1.0 535,079 11/26/2019
2.0.0 466,369 11/4/2019
1.15.0 1,068,030 10/15/2019
1.14.2 185,859 9/24/2019
1.14.1 320,379 8/27/2019
1.14.0 1,426 8/19/2019
1.13.1 (current version) 398,736 7/30/2019
1.13.0 290,804 7/2/2019
1.12.0 176,738 6/18/2019
1.11.0 79,125 6/4/2019
1.10.0 72,613 5/6/2019
1.9.0 477,957 4/23/2019
1.8.0 54,632 4/9/2019
1.7.0 83,569 3/26/2019
1.5.0 56,054 3/12/2019
1.4.0 3,247 2/28/2019
1.3.0 43,547 2/26/2019
1.2.0 33,008 2/12/2019
1.1.1-preview 4,248 1/30/2019
1.1.0 29,226 1/29/2019
1.0.1 73,244 1/15/2019
1.0.0 60,862 12/18/2018
0.7.0 12,535 12/4/2018
0.6.2 1,245 12/3/2018
0.6.1 8,723 11/21/2018
0.5.1 8,918 11/8/2018
0.5.0 1,731 11/6/2018
0.4.0 11,373 10/23/2018
0.3.0 11,130 10/9/2018
0.2.3 4,745 9/27/2018
0.2.2 884 9/24/2018
0.1.0 773 8/28/2018
Show less