Az.Sql

5.3.0

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://learn.microsoft.com/azure/sql-database/

Minimum PowerShell version

5.1

Installation Options

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

Install-Module -Name Az.Sql

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

Install-PSResource -Name Az.Sql

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

Add-AzSqlDatabaseToFailoverGroup Add-AzSqlElasticJobStep Add-AzSqlElasticJobTarget Add-AzSqlInstanceKeyVaultKey Add-AzSqlManagedInstanceTransparentDataEncryptionCertificate Add-AzSqlServerKeyVaultKey Add-AzSqlServerTransparentDataEncryptionCertificate Clear-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline Clear-AzSqlDatabaseVulnerabilityAssessmentSetting Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentRuleBaseline Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting Clear-AzSqlInstanceVulnerabilityAssessmentSetting Clear-AzSqlServerVulnerabilityAssessmentSetting Complete-AzSqlInstanceDatabaseCopy Complete-AzSqlInstanceDatabaseLogReplay Complete-AzSqlInstanceDatabaseMove Convert-AzSqlDatabaseVulnerabilityAssessmentScan Convert-AzSqlInstanceDatabaseVulnerabilityAssessmentScan Copy-AzSqlDatabaseLongTermRetentionBackup Copy-AzSqlInstanceDatabase Disable-AzSqlDatabaseLedgerDigestUpload Disable-AzSqlDatabaseSensitivityRecommendation Disable-AzSqlInstanceActiveDirectoryOnlyAuthentication Disable-AzSqlInstanceAdvancedDataSecurity Disable-AzSqlInstanceDatabaseLedgerDigestUpload Disable-AzSqlInstanceDatabaseSensitivityRecommendation Disable-AzSqlServerActiveDirectoryOnlyAuthentication Disable-AzSqlServerAdvancedDataSecurity Enable-AzSqlDatabaseLedgerDigestUpload Enable-AzSqlDatabaseSensitivityRecommendation Enable-AzSqlInstanceActiveDirectoryOnlyAuthentication Enable-AzSqlInstanceAdvancedDataSecurity Enable-AzSqlInstanceDatabaseLedgerDigestUpload Enable-AzSqlInstanceDatabaseSensitivityRecommendation Enable-AzSqlServerActiveDirectoryOnlyAuthentication Enable-AzSqlServerAdvancedDataSecurity Get-AzSqlCapability Get-AzSqlDatabase Get-AzSqlDatabaseActivity Get-AzSqlDatabaseAdvancedThreatProtectionSetting Get-AzSqlDatabaseAdvisor Get-AzSqlDatabaseAudit Get-AzSqlDatabaseBackupLongTermRetentionPolicy Get-AzSqlDatabaseBackupShortTermRetentionPolicy Get-AzSqlDatabaseDataMaskingPolicy Get-AzSqlDatabaseDataMaskingRule Get-AzSqlDatabaseExpanded Get-AzSqlDatabaseFailoverGroup Get-AzSqlDatabaseGeoBackup Get-AzSqlDatabaseGeoBackupPolicy Get-AzSqlDatabaseImportExportStatus Get-AzSqlDatabaseIndexRecommendation Get-AzSqlDatabaseInstanceFailoverGroup Get-AzSqlDatabaseLedgerDigestUpload Get-AzSqlDatabaseLongTermRetentionBackup Get-AzSqlDatabaseRecommendedAction Get-AzSqlDatabaseReplicationLink Get-AzSqlDatabaseRestorePoint Set-AzSqlDatabaseReplicationLink Get-AzSqlDatabaseSensitivityClassification Get-AzSqlDatabaseSensitivityRecommendation Get-AzSqlDatabaseTransparentDataEncryption Get-AzSqlDatabaseUpgradeHint Get-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline Get-AzSqlDatabaseVulnerabilityAssessmentScanRecord Get-AzSqlDatabaseVulnerabilityAssessmentSetting Get-AzSqlDeletedDatabaseBackup Get-AzSqlDeletedInstanceDatabaseBackup Get-AzSqlElasticJob Get-AzSqlElasticJobAgent Get-AzSqlElasticJobCredential Get-AzSqlElasticJobExecution Get-AzSqlElasticJobPrivateEndpoint Get-AzSqlElasticJobStep Get-AzSqlElasticJobStepExecution Get-AzSqlElasticJobTargetExecution Get-AzSqlElasticJobTargetGroup Get-AzSqlElasticPool Get-AzSqlElasticPoolActivity Get-AzSqlElasticPoolAdvisor Get-AzSqlElasticPoolDatabase Get-AzSqlElasticPoolRecommendation Get-AzSqlElasticPoolRecommendedAction Get-AzSqlInstance Get-AzSqlInstanceActiveDirectoryAdministrator Get-AzSqlInstanceActiveDirectoryOnlyAuthentication Get-AzSqlInstanceAdvancedDataSecurityPolicy Get-AzSqlInstanceAdvancedThreatProtectionSetting Get-AzSqlInstanceDatabase Get-AzSqlInstanceDatabaseAdvancedThreatProtectionSetting Get-AzSqlInstanceDatabaseBackupLongTermRetentionPolicy Get-AzSqlInstanceDatabaseBackupShortTermRetentionPolicy Get-AzSqlInstanceDatabaseCopyOperation Get-AzSqlInstanceDatabaseGeoBackup Get-AzSqlInstanceDatabaseLedgerDigestUpload Get-AzSqlInstanceDatabaseLogReplay Get-AzSqlInstanceDatabaseLongTermRetentionBackup Get-AzSqlInstanceDatabaseMoveOperation Get-AzSqlInstanceDatabaseSensitivityClassification Get-AzSqlInstanceDatabaseSensitivityRecommendation Get-AzSqlInstanceDatabaseVulnerabilityAssessmentRuleBaseline Get-AzSqlInstanceDatabaseVulnerabilityAssessmentScanRecord Get-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting Get-AzSqlInstanceDtc Get-AzSqlInstanceEndpointCertificate Get-AzSqlInstanceKeyVaultKey Get-AzSqlInstanceLink Get-AzSqlInstanceOperation Get-AzSqlInstancePool Get-AzSqlInstancePoolUsage Get-AzSqlInstanceServerTrustCertificate Get-AzSqlInstanceStartStopSchedule Get-AzSqlInstanceTransparentDataEncryptionProtector Get-AzSqlInstanceVulnerabilityAssessmentSetting Get-AzSqlServer Get-AzSqlServerActiveDirectoryAdministrator Get-AzSqlServerActiveDirectoryOnlyAuthentication Get-AzSqlServerAdvancedDataSecurityPolicy Get-AzSqlServerAdvancedThreatProtectionSetting Get-AzSqlServerAdvisor Get-AzSqlServerAudit Get-AzSqlServerCommunicationLink Get-AzSqlServerConfigurationOption Get-AzSqlServerDisasterRecoveryConfiguration Get-AzSqlServerDisasterRecoveryConfigurationActivity Get-AzSqlServerDnsAlias Get-AzSqlServerFirewallRule Get-AzSqlServerIpv6FirewallRule Get-AzSqlServerKeyVaultKey Get-AzSqlServerMSSupportAudit Get-AzSqlServerOutboundFirewallRule Get-AzSqlServerRecommendedAction Get-AzSqlServerServiceObjective Get-AzSqlServerTransparentDataEncryptionProtector Get-AzSqlServerTrustGroup Get-AzSqlServerUpgradeHint Get-AzSqlServerVirtualNetworkRule Get-AzSqlServerVulnerabilityAssessmentSetting Get-AzSqlSyncAgent Get-AzSqlSyncAgentLinkedDatabase Get-AzSqlSyncGroup Get-AzSqlSyncGroupLog Get-AzSqlSyncMember Get-AzSqlSyncSchema Get-AzSqlVirtualCluster Invoke-AzSqlDatabaseFailover Invoke-AzSqlDatabaseTransparentDataEncryptionProtectorRevalidation Invoke-AzSqlDatabaseTransparentDataEncryptionProtectorRevert Invoke-AzSqlElasticPoolFailover Invoke-AzSqlInstanceFailover Invoke-AzSqlInstanceExternalGovernanceStatusRefresh Invoke-AzSqlInstanceTransparentDataEncryptionProtectorRevalidation Invoke-AzSqlServerExternalGovernanceStatusRefresh Invoke-AzSqlServerTransparentDataEncryptionProtectorRevalidation Move-AzSqlInstanceDatabase New-AzSqlDatabase New-AzSqlDatabaseCopy New-AzSqlDatabaseDataMaskingRule New-AzSqlDatabaseExport New-AzSqlDatabaseFailoverGroup New-AzSqlDatabaseImport New-AzSqlDatabaseInstanceFailoverGroup New-AzSqlDatabaseRestorePoint New-AzSqlDatabaseSecondary New-AzSqlElasticJob New-AzSqlElasticJobAgent New-AzSqlElasticJobCredential New-AzSqlElasticJobPrivateEndpoint New-AzSqlElasticJobTargetGroup New-AzSqlElasticPool New-AzSqlInstance New-AzSqlInstanceDatabase New-AzSqlInstanceLink New-AzSqlInstancePool New-AzSqlInstanceScheduleItem New-AzSqlInstanceServerTrustCertificate New-AzSqlInstanceStartStopSchedule New-AzSqlServer New-AzSqlServerCommunicationLink New-AzSqlServerDisasterRecoveryConfiguration New-AzSqlServerDnsAlias New-AzSqlServerFirewallRule New-AzSqlServerIpv6FirewallRule New-AzSqlServerOutboundFirewallRule New-AzSqlServerTrustGroup New-AzSqlServerVirtualNetworkRule New-AzSqlSyncAgent New-AzSqlSyncAgentKey New-AzSqlSyncGroup New-AzSqlSyncMember Remove-AzSqlDatabase Remove-AzSqlDatabaseAudit Remove-AzSqlDatabaseDataMaskingRule Remove-AzSqlDatabaseFailoverGroup Remove-AzSqlDatabaseFromFailoverGroup Remove-AzSqlDatabaseInstanceFailoverGroup Remove-AzSqlDatabaseLongTermRetentionBackup Remove-AzSqlDatabaseRestorePoint Remove-AzSqlDatabaseSecondary Remove-AzSqlDatabaseSensitivityClassification Remove-AzSqlElasticJob Remove-AzSqlElasticJobAgent Remove-AzSqlElasticJobCredential Remove-AzSqlElasticJobPrivateEndpoint Remove-AzSqlElasticJobStep Remove-AzSqlElasticJobTarget Remove-AzSqlElasticJobTargetGroup Remove-AzSqlElasticPool Remove-AzSqlInstance Remove-AzSqlInstanceActiveDirectoryAdministrator Remove-AzSqlInstanceDatabase Remove-AzSqlInstanceDatabaseLongTermRetentionBackup Remove-AzSqlInstanceDatabaseSensitivityClassification Remove-AzSqlInstanceKeyVaultKey Remove-AzSqlInstanceLink Remove-AzSqlInstancePool Remove-AzSqlInstanceServerTrustCertificate Remove-AzSqlInstanceStartStopSchedule Remove-AzSqlServer Remove-AzSqlServerActiveDirectoryAdministrator Remove-AzSqlServerAudit Remove-AzSqlServerCommunicationLink Remove-AzSqlServerDisasterRecoveryConfiguration Remove-AzSqlServerDnsAlias Remove-AzSqlServerFirewallRule Remove-AzSqlServerIpv6FirewallRule Remove-AzSqlServerKeyVaultKey Remove-AzSqlServerMSSupportAudit Remove-AzSqlServerOutboundFirewallRule Remove-AzSqlServerTrustGroup Remove-AzSqlServerVirtualNetworkRule Remove-AzSqlSyncAgent Remove-AzSqlSyncGroup Remove-AzSqlSyncMember Remove-AzSqlVirtualCluster Restore-AzSqlDatabase Restore-AzSqlInstanceDatabase Resume-AzSqlDatabase Set-AzSqlDatabase Set-AzSqlDatabaseAdvisorAutoExecuteStatus Set-AzSqlDatabaseAudit Set-AzSqlDatabaseBackupLongTermRetentionPolicy Set-AzSqlDatabaseBackupShortTermRetentionPolicy Set-AzSqlDatabaseDataMaskingPolicy Set-AzSqlDatabaseDataMaskingRule Set-AzSqlDatabaseFailoverGroup Set-AzSqlDatabaseGeoBackupPolicy Set-AzSqlDatabaseInstanceFailoverGroup Set-AzSqlDatabaseRecommendedActionState Set-AzSqlDatabaseSecondary Set-AzSqlDatabaseSensitivityClassification Set-AzSqlDatabaseTransparentDataEncryption Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline Set-AzSqlElasticJob Set-AzSqlElasticJobAgent Set-AzSqlElasticJobCredential Set-AzSqlElasticJobStep Set-AzSqlElasticPool Set-AzSqlElasticPoolAdvisorAutoExecuteStatus Set-AzSqlElasticPoolRecommendedActionState Set-AzSqlInstance Set-AzSqlInstanceActiveDirectoryAdministrator Set-AzSqlInstanceDatabase Set-AzSqlInstanceDatabaseBackupLongTermRetentionPolicy Set-AzSqlInstanceDatabaseBackupShortTermRetentionPolicy Set-AzSqlInstanceDatabaseSensitivityClassification Set-AzSqlInstanceDatabaseVulnerabilityAssessmentRuleBaseline Set-AzSqlInstanceDtc Set-AzSqlInstancePool Set-AzSqlInstanceTransparentDataEncryptionProtector Set-AzSqlServer Set-AzSqlServerActiveDirectoryAdministrator Set-AzSqlServerAdvisorAutoExecuteStatus Set-AzSqlServerAudit Set-AzSqlServerConfigurationOption Set-AzSqlServerDisasterRecoveryConfiguration Set-AzSqlServerDnsAlias Set-AzSqlServerFirewallRule Set-AzSqlServerIpv6FirewallRule Set-AzSqlServerMSSupportAudit Set-AzSqlServerRecommendedActionState Set-AzSqlServerTransparentDataEncryptionProtector Set-AzSqlServerVirtualNetworkRule Start-AzSqlDatabaseExecuteIndexRecommendation Start-AzSqlDatabaseVulnerabilityAssessmentScan Start-AzSqlElasticJob Start-AzSqlInstance Start-AzSqlInstanceDatabaseLogReplay Start-AzSqlInstanceDatabaseVulnerabilityAssessmentScan Start-AzSqlSyncGroupSync Stop-AzSqlDatabaseActivity Stop-AzSqlDatabaseExecuteIndexRecommendation Stop-AzSqlElasticJob Stop-AzSqlElasticPoolActivity Stop-AzSqlInstance Stop-AzSqlInstanceDatabaseCopy Stop-AzSqlInstanceDatabaseLogReplay Stop-AzSqlInstanceDatabaseMove Stop-AzSqlInstanceOperation Stop-AzSqlSyncGroupSync Suspend-AzSqlDatabase Switch-AzSqlDatabaseFailoverGroup Switch-AzSqlDatabaseInstanceFailoverGroup Update-AzSqlDatabaseAdvancedThreatProtectionSetting Update-AzSqlDatabaseLongTermRetentionBackup Update-AzSqlDatabaseVulnerabilityAssessmentSetting Update-AzSqlInstanceAdvancedThreatProtectionSetting Update-AzSqlInstanceDatabaseAdvancedThreatProtectionSetting Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting Update-AzSqlInstanceLink Update-AzSqlInstanceVulnerabilityAssessmentSetting Update-AzSqlServerAdvancedThreatProtectionSetting Update-AzSqlServerVulnerabilityAssessmentSetting Update-AzSqlSyncGroup Update-AzSqlSyncMember Update-AzSqlSyncSchema

PSEditions

Core Desktop

Dependencies

Release Notes

* Fixed secrets exposure in example documentation.
* Fixed issues regarding Active Directory Administrator in 'Set-AzSqlInstanceActiveDirectoryAdministrator' and 'Set-AzSqlInstance' cmdlets.
* Added new parameter AuthenticationMetadata to 'New-AzSqlInstance' and 'Set-AzSqlInstance'

FileList

Version History

Version Downloads Last updated
5.3.0 (current version) 3,253,462 9/3/2024
5.2.0 1,895,785 8/6/2024
5.1.0 1,687,256 7/9/2024
5.0.0 4,613,931 5/21/2024
4.14.1 1,516,052 4/30/2024
4.14.0 5,298,372 2/6/2024
4.13.0 1,540,462 1/9/2024
4.12.0 1,652,910 12/5/2023
4.11.0 1,187,049 11/14/2023
4.10.0 4,770,461 9/5/2023
4.9.0 1,399,598 8/1/2023
4.8.0 1,198,652 7/4/2023
4.7.0 1,568,636 5/23/2023
4.6.0 2,217,290 4/25/2023
4.5.0 853,040 4/4/2023
4.4.0 1,161,562 3/9/2023
4.3.0 1,487,913 2/7/2023
4.2.0 1,276,725 1/10/2023
4.1.0 2,439,298 11/1/2022
4.0.0 942,166 10/17/2022
3.11.0 2,827,441 8/2/2022
3.10.0 715,237 7/5/2022
3.9.0 3,943,618 5/24/2022
3.8.0 4,154,690 4/5/2022
3.7.1 1,216,547 2/7/2022
3.7.0 713,262 1/4/2022
3.6.0 523,820 12/7/2021
3.5.1 2,660,509 10/12/2021
3.5.0 799,302 9/7/2021
3.4.1 696,628 7/15/2021
3.4.0 606,556 7/6/2021
3.3.0 13,313 6/23/2021
3.2.0 403,765 6/15/2021
3.1.0 415,698 5/25/2021
3.0.0-preview 724 3/27/2021
2.17.1 3,479,731 4/13/2021
2.17.0 680,278 3/23/2021
2.16.0 1,450,150 2/9/2021
2.15.0 1,662,241 1/19/2021
2.14.0 1,478,002 12/29/2020
2.13.0 1,400,108 12/8/2020
2.12.0 1,643,171 11/17/2020
2.11.1 1,721,705 10/27/2020
2.11.0 3,410,846 9/27/2020
2.10.1 1,607 9/24/2020
2.10.0 264,084 9/22/2020
2.9.1 2,426,930 8/4/2020
2.9.0 371,369 7/14/2020
2.8.0 534,145 6/23/2020
2.7.0 402,070 6/2/2020
2.6.1 343,396 5/19/2020
2.6.0 2,016,114 4/21/2020
2.5.0 305,577 3/16/2020
2.4.0 373,593 3/10/2020
2.3.0 405,856 2/18/2020
2.2.0 652,047 2/4/2020
2.1.2 387,511 1/7/2020
2.1.1 329,941 12/17/2019
2.1.0 529,083 11/26/2019
2.0.0 466,092 11/4/2019
1.15.0 1,058,246 10/15/2019
1.14.2 185,856 9/24/2019
1.14.1 320,154 8/27/2019
1.14.0 1,426 8/19/2019
1.13.1 397,212 7/30/2019
1.13.0 290,799 7/2/2019
1.12.0 176,576 6/18/2019
1.11.0 79,124 6/4/2019
1.10.0 72,604 5/6/2019
1.9.0 477,084 4/23/2019
1.8.0 54,621 4/9/2019
1.7.0 83,542 3/26/2019
1.5.0 56,054 3/12/2019
1.4.0 3,207 2/28/2019
1.3.0 43,547 2/26/2019
1.2.0 33,008 2/12/2019
1.1.1-preview 4,242 1/30/2019
1.1.0 29,226 1/29/2019
1.0.1 73,242 1/15/2019
1.0.0 60,828 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 more