You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/create-virtual-machine-accelerated-networking.md
+30-30Lines changed: 30 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -465,43 +465,43 @@ Accelerated networking is enabled in the portal during virtual machine creation.
465
465
466
466
### [PowerShell](#tab/powershell)
467
467
468
-
1. Use [Get-Credential](/powershell/module/microsoft.powershell.security/get-credential) to set a user name and password forthe VM and store themin the `$cred` variable.
468
+
Use [Get-Credential](/powershell/module/microsoft.powershell.security/get-credential) to set a user name and password forthe VM and store themin the `$cred` variable.
469
469
470
-
```azurepowershell
471
-
$cred = Get-Credential
472
-
```
470
+
```azurepowershell
471
+
$cred = Get-Credential
472
+
```
473
473
474
-
1. Use [New-AzVMConfig](/powershell/module/az.compute/new-azvmconfig) to define a VM with a VM size that supports accelerated networking, as listed in [Windows Accelerated Networking](https://azure.microsoft.com/updates/accelerated-networking-in-expanded-preview). For a list of all Windows VM sizes and characteristics, see [Windows VM sizes](/azure/virtual-machines/sizes).
474
+
Use [New-AzVMConfig](/powershell/module/az.compute/new-azvmconfig) to define a VM with a VM size that supports accelerated networking, as listed in [Windows Accelerated Networking](https://azure.microsoft.com/updates/accelerated-networking-in-expanded-preview). For a list of all Windows VM sizes and characteristics, see [Windows VM sizes](/azure/virtual-machines/sizes).
475
475
476
-
```azurepowershell
477
-
$vmConfigParams = @{
478
-
VMName = "vm-1"
479
-
VMSize = "Standard_DS4_v2"
480
-
}
481
-
$vmConfig = New-AzVMConfig @vmConfigParams
482
-
```
476
+
```azurepowershell
477
+
$vmConfigParams = @{
478
+
VMName = "vm-1"
479
+
VMSize = "Standard_DS4_v2"
480
+
}
481
+
$vmConfig = New-AzVMConfig @vmConfigParams
482
+
```
483
483
484
-
1. Use [Set-AzVMOperatingSystem](/powershell/module/az.compute/set-azvmoperatingsystem) and [Set-AzVMSourceImage](/powershell/module/az.compute/set-azvmsourceimage) to create the rest of the VM configuration. The following example creates a Ubuntu Server virtual machine:
484
+
Use [Set-AzVMOperatingSystem](/powershell/module/az.compute/set-azvmoperatingsystem) and [Set-AzVMSourceImage](/powershell/module/az.compute/set-azvmsourceimage) to create the rest of the VM configuration. The following example creates a Ubuntu Server virtual machine:
0 commit comments