简体   繁体   中英

The term 'Get-AzSynapseSqlPool' is not recognized as a name of a cmdlet

I was tryng to upscale synapse using azure runbook in powershell but the commands listed in https://docs.microsoft.com/en-us/powershell/module/az.synapse/get-azsynapsesqlpool?view=azps-7.1.0#code-try-3 are not recognisable with the error "The term 'Get-AzSynapseSqlPool' is not recognized as a name of a cmdlet, | function, script file, or executable program. Check the spelling of the | name, or if a path was included, verify that the path is correct and try | again." can anyone help?

Go to Portal =>Automation Accounts =>Your Shared Resource =>Runbook Check if you have Az.Synapse module. If not, add a module from the local machine and import it to the runbook using

 Import-module -name Az.Synapse

Command for upscaling service tier of synapse sql pool

Set-AzSqlDatabase -ResourceGroupName "resourcegroupname" -DatabaseName "mySampleDataWarehouse" -ServerName "sqlpoolservername" -RequestedServiceObjectiveName "DW300c"

Please refer Updates a Synapse Analytics SQL pool and Scale compute for dedicated SQL pool for more information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM