Skip to content

Commit

Permalink
Merge pull request #48 from iainfoulds/mymvc-win
Browse files Browse the repository at this point in the history
Revisions
  • Loading branch information
neilpeterson authored Apr 21, 2017
2 parents 2ef2f9e + 05f7b20 commit 2180711
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ It takes a few minutes for the resources and VM to be created.


## Automate IIS install
Use [Set-AzureRmVMExtension](/powershell/module/azurerm.compute/set-azurermvmextension) to install the custom script extension. The extension runs `powershell Add-WindowsFeature Web-Server` to install the IIS webserver and then updates the `Default.htm` page to show the hostname of the VM:
Use [Set-AzureRmVMExtension](/powershell/module/azurerm.compute/set-azurermvmextension) to install the Custom Script Extension. The extension runs `powershell Add-WindowsFeature Web-Server` to install the IIS webserver and then updates the `Default.htm` page to show the hostname of the VM:

```powershell
Set-AzureRmVMExtension -ResourceGroupName myResourceGroupAutomate `
Expand Down
6 changes: 3 additions & 3 deletions articles/virtual-machines/windows/tutorial-load-balancer.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ for ($i=1; $i -le 3; $i++)

It takes a few minutes to create and configure all three VMs.

### Install the app
In a previous tutorial on [How to customize a Windows virtual machine on first boot](tutorial-automate-vm-deployment.md), you learned how to automate VM customization with the custom script extension for Windows. You can use the same approach to install and configure IIS on your VMs.
### Install IIS with Custom Script Extension
In a previous tutorial on [How to customize a Windows virtual machine](tutorial-automate-vm-deployment.md), you learned how to automate VM customization with the Custom Script Extension for Windows. You can use the same approach to install and configure IIS on your VMs.

Use [Set-AzureRmVMExtension](/powershell/resourcemanager/azurerm.compute/set-azurermvmextension) to install the custom script extension. The extension runs `powershell Add-WindowsFeature Web-Server` to install the IIS webserver and then updates the `Default.htm` page to show the hostname of the VM:
Use [Set-AzureRmVMExtension](/powershell/resourcemanager/azurerm.compute/set-azurermvmextension) to install the Custom Script Extension. The extension runs `powershell Add-WindowsFeature Web-Server` to install the IIS webserver and then updates the `Default.htm` page to show the hostname of the VM:

```powershell
for ($i=1; $i -le 3; $i++)
Expand Down

0 comments on commit 2180711

Please sign in to comment.