Skip to content

Commit 9880666

Browse files
authored
Merge pull request #103112 from MashaMSFT/patch-82
fixing cmdlet
2 parents 8bb60cc + 44484ed commit 9880666

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

articles/virtual-machines/windows/sql/virtual-machines-windows-sql-server-agent-extension.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,9 @@ Here are the requirements to use the SQL Server IaaS Agent Extension on your VM:
7676
The SQL Server IaaS extension is installed when you register your SQL Server VM with the [SQL VM resource provider](virtual-machines-windows-sql-register-with-resource-provider.md). If necessary, you can install the SQL Server IaaS agent manually using the below PowerShell command:
7777

7878
```powershell-interactive
79-
Set-AzVMExtension -ResourceGroupName "<ResourceGroupName>" `
80-
-Location "<VMLocation>" -VMName "<VMName>" `
81-
-Name "SqlIaasExtension" -Publisher "Microsoft.SqlServer.Management" `
82-
-ExtensionType "SqlIaaSAgent" -TypeHandlerVersion "2.0";
79+
Set-AzVMSqlServerExtension -VMName "sql2017" `
80+
-ResourceGroupName "LabsqlIAASagent" -Name "SQLIaasExtension" `
81+
-Version "2.0" -Location "Central US";
8382
```
8483

8584
> [!NOTE]

0 commit comments

Comments
 (0)