Search notes:

PowerShell cmdLet new-azSqlServer

$userName ='rene'
$password ='verySecret'
$pw       = convertTo-secureString -string $password -asPlainText -force
$cred     = new-object -typeName System.Management.Automation.PSCredential -argumentList $adminlogin, $pw

new-azSqlServer -resourceGroupName 'tq84ResGrp' `
    -serverName 'tq84Srv'                       `
    -location   'WestEurope'                    `
    -sqlAdministratorCredentials $cred

Index