Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, July 9, 2018 1:07 PM
Hi Guys,
I am trying to access my Azure SQL DBs in one of my subscriptions using powershell cmdlet and i am facing below error
Get-AzureSqlDatabaseServer : The term 'Get-AzureSqlDatabaseServer' is not recognized as the name of a cmdlet, function, script file, or operable program.
I have installed AzureRM module already and i have been using other cmdlet to access blob storage and even New-AzureRmSqlDatabaseExport in my scripts for daily export.
What am i missing here? any specific module needs to installed for Azure SQL spectifically?
Thanks in advance.
All replies (3)
Monday, July 9, 2018 1:47 PM ✅Answered
See: /en-us/powershell/module/azurerm.sql/get-azurermsqlserver?view=azurermps-6.4.0
\(ツ)_/
Monday, July 9, 2018 1:46 PM
There is no such command in AzureRM.
\(ツ)_/
Monday, October 22, 2018 8:33 AM
Updated on: Tuesday, 23rd Oct 2018
gvee on stackoverflow has agreed with me that these commands are deprecated. REplaced with AzureRM commands with syntax like
<verb>-AzureRm
SQL Azure powershell commands not recognized anymore. Deprecated?
Is it because the Azure Service management and its PowerShell packages are deprecated as per the following azure web page?
Deprecating Service Management API support for Azure App Service
And now it is totally replaced by the <g class="gr_ gr_22 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling ins-del multiReplace" data-gr-id="22" id="22">AzureRM</g> ( Resource Manager ) providing slightly changed commands and syntax with probably more features and power
Difference between Azure Service Manager and Azure Resource Manager
Kindly someone with knowledge confirm. I am going through exam books for my paper and still, latest PDFs are providing scripts with Azure Service manager commands no more runable on PowerShell.