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-machines/windows/tutorial-manage-vm.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
---
1
+
---
2
2
title: Tutorial - Create and manage Windows VMs with Azure PowerShell | Microsoft Docs
3
3
description: In this tutorial, you learn how to use Azure PowerShell to create and manage Windows VMs in Azure
4
4
services: virtual-machines-windows
@@ -21,7 +21,7 @@ ms.custom: mvc
21
21
#Customer intent: As an IT administrator, I want to learn about common maintenance tasks so that I can create and manage Windows VMs in Azure
22
22
---
23
23
24
-
# Tutorial: Create and Manage Linux VMs with Azure PowerShell
24
+
# Tutorial: Create and Manage Windows VMs with Azure PowerShell
25
25
26
26
Azure virtual machines provide a fully configurable and flexible computing environment. This tutorial covers basic Azure virtual machine deployment items such as selecting a VM size, selecting a VM image, and deploying a VM. You learn how to:
27
27
@@ -34,7 +34,7 @@ Azure virtual machines provide a fully configurable and flexible computing envir
If you choose to install and use the PowerShell locally, this tutorial requires the Azure PowerShell module version 5..7.0 or later. Run `Get-Module -ListAvailable AzureRM` to find the version. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-azurerm-ps). If you are running PowerShell locally, you also need to run `Connect-AzureRmAccount` to create a connection with Azure.
37
+
If you choose to install and use the PowerShell locally, this tutorial requires the Azure PowerShell module version 5.7.0 or later. Run `Get-Module -ListAvailable AzureRM` to find the version. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-azurerm-ps). If you are running PowerShell locally, you also need to run `Connect-AzureRmAccount` to create a connection with Azure.
38
38
39
39
## Create resource group
40
40
@@ -88,15 +88,15 @@ Use the following command, on your local machine, to create a remote desktop ses
88
88
mstsc /v:<publicIpAddress>
89
89
```
90
90
91
-
In the **Windows Security** window, select **More choices** and then **Use a different account**. Type the username and password you created for the for the virtual machine and then click **OK**.
91
+
In the **Windows Security** window, select **More choices** and then **Use a different account**. Type the username and password you created for the virtual machine and then click **OK**.
92
92
93
93
## Understand VM images
94
94
95
-
The Azure marketplace includes many virtual machine images that can be used to create a new virtual machine. In the previous steps, a virtual machine was created using the Windows Server 2016-Datacenter image. In this step, the PowerShell module is used to search the marketplace for other Windows images, which can also be used as a base for new VMs. This process consists of finding the publisher, offer, SKU, and optionally a version number to [identify](cli-ps-findimage.md#terminology) the image.
95
+
The Azure marketplace includes many virtual machine images that can be used to create a new virtual machine. In the previous steps, a virtual machine was created using the Windows Server 2016Datacenter image. In this step, the PowerShell module is used to search the marketplace for other Windows images, which can also be used as a base for new VMs. This process consists of finding the publisher, offer, SKU, and optionally a version number to [identify](cli-ps-findimage.md#terminology) the image.
96
96
97
97
Use the [Get-AzureRmVMImagePublisher](/powershell/module/azurerm.compute/get-azurermvmimagepublisher) command to return a list of image publishers:
98
98
99
-
```powersehll
99
+
```powershell
100
100
Get-AzureRmVMImagePublisher -Location "EastUS"
101
101
```
102
102
@@ -155,12 +155,12 @@ New-AzureRmVm `
155
155
-AsJob
156
156
```
157
157
158
-
The `-AsJob` parameter creates the VM as a background task, so the PowerShell prompts return to you. You can view details of background jobs with the `Job` cmdlet.
158
+
The `-AsJob` parameter creates the VM as a background task, so the PowerShell prompts return to you. You can view details of background jobs with the `Get-Job` cmdlet.
159
159
160
160
161
161
## Understand VM sizes
162
162
163
-
A virtual machine size determines the amount of compute resources such as CPU, GPU, and memory that are made available to the virtual machine. Virtual machines need to be created with a size appropriate for the expect work load. If workload increases, an existing virtual machine can be resized.
163
+
A virtual machine size determines the amount of compute resources such as CPU, GPU, and memory that are made available to the virtual machine. Virtual machines need to be created with a size appropriate for the expect workload. If workload increases, an existing virtual machine can be resized.
0 commit comments