Skip to content

Commit 8a2ddf1

Browse files
authored
Merge pull request #99602 from MashaMSFT/patch-72
updated powershell command
2 parents eb7ed94 + 15f9558 commit 8a2ddf1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

articles/virtual-machines/windows/sql/virtual-machines-windows-sql-register-with-resource-provider.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,7 @@ Verify current SQL Server VM registration status using either Az CLI or PowerShe
281281
# [PowerShell](#tab/powershell)
282282

283283
```powershell-interactive
284-
Get-AzResource -ResourceName <vm_name> -ResourceGroupName <resource_group> `
285-
-ResourceType Microsoft.SqlVirtualMachine/sqlVirtualMachines
284+
Get-AzSqlVM -Name <vm_name> -ResourceGroupName <resource_group>
286285
```
287286

288287
---

0 commit comments

Comments
 (0)