diff --git a/New Instructions/AllFiles/Lab06/az104-06-vms-loop-template.json b/New Instructions/AllFiles/Lab06/az104-06-vms-loop-template.json index b30a6824..aa0c8211 100644 --- a/New Instructions/AllFiles/Lab06/az104-06-vms-loop-template.json +++ b/New Instructions/AllFiles/Lab06/az104-06-vms-loop-template.json @@ -341,7 +341,7 @@ "typeHandlerVersion": "1.7", "settings": { "commandToExecute": "powershell.exe Install-WindowsFeature -name Web-Server -IncludeManagementTools && powershell.exe remove-item 'C:\\inetpub\\wwwroot\\iisstart.htm' && powershell.exe Add-Content -Path 'C:\\inetpub\\wwwroot\\iisstart.htm' -Value $('Hello World from ' + $env:computername) && powershell.exe New-Item -Path "c:\\inetpub\\wwwroot" -Name "image" -Itemtype "Directory" && powershell.exe New-Item -Path "c:\\inetpub\\wwwroot\\image\" -Name "iisstart.htm" -ItemType "file" && powershell.exe -Add-Content -Path 'C:\inetpub\\wwwroot\image\iisstart.htm' -Value $('Images from: ' + $env:computername))" +Add-Content -Path 'C:\\inetpub\\wwwroot\\image\\iisstart.htm' -Value $('Images from: ' + $env:computername))" } "protectedSettings": {} } @@ -361,7 +361,7 @@ Add-Content -Path 'C:\inetpub\\wwwroot\image\iisstart.htm' -Value $('Images from "typeHandlerVersion": "1.7", "settings": { "commandToExecute": "powershell.exe Install-WindowsFeature -name Web-Server -IncludeManagementTools && powershell.exe remove-item 'C:\\inetpub\\wwwroot\\iisstart.htm' && powershell.exe Add-Content -Path 'C:\\inetpub\\wwwroot\\iisstart.htm' -Value $('Hello World from ' + $env:computername) && powershell.exe New-Item -Path "c:\\inetpub\\wwwroot" -Name "image" -Itemtype "Directory" && powershell.exe New-Item -Path "c:\\inetpub\\wwwroot\\image\" -Name "iisstart.htm" -ItemType "file" && powershell.exe -Add-Content -Path 'C:\inetpub\\wwwroot\image\iisstart.htm' -Value $('Images from: ' + $env:computername))" +Add-Content -Path 'C:\\inetpub\\wwwroot\\image\\iisstart.htm' -Value $('Images from: ' + $env:computername))" } "protectedSettings": {} }