Skip to content

Commit

Permalink
Update elastic-jobs-powershell-create.md
Browse files Browse the repository at this point in the history
On line 271 we only need $targetServer. Currently it has .ServerName which is throwing an error
  • Loading branch information
svchandramohan authored Nov 8, 2024
1 parent c89e939 commit 78280f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-sql/database/elastic-jobs-powershell-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ $adminPassword = '<password>'
$params = @{
'database' = 'master'
'serverInstance' = $targetServer.ServerName + '.database.windows.net'
'serverInstance' = $targetServer + '.database.windows.net'
'username' = $adminLogin
'password' = $adminPassword
'outputSqlErrors' = $true
Expand Down

0 comments on commit 78280f7

Please sign in to comment.