mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-08 09:57:02 +00:00
Update az104-06-vms-loop-template.json
This commit is contained in:
parent
6f772b237a
commit
3449345ddf
@ -343,7 +343,7 @@ Add-Content -Path 'C:\inetpub\\wwwroot\video\iisstart.htm' -Value $('Images from
|
|||||||
"type": "CustomScriptExtension",
|
"type": "CustomScriptExtension",
|
||||||
"typeHandlerVersion": "1.7",
|
"typeHandlerVersion": "1.7",
|
||||||
"settings": {
|
"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 "video" -Itemtype "Directory" && powershell.exe New-Item -Path "c:\inetpub\wwwroot\video\" -Name "iisstart.htm" -ItemType "file" && powershell.exe
|
"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 "video" -Itemtype "Directory" && powershell.exe New-Item -Path "c:\inetpub\wwwroot\video\" -Name "iisstart.htm" -ItemType "file" && powershell.exe
|
||||||
Add-Content -Path 'C:\inetpub\\wwwroot\video\iisstart.htm' -Value $('Images from: ' + $env:computername))"
|
Add-Content -Path 'C:\inetpub\\wwwroot\video\iisstart.htm' -Value $('Images from: ' + $env:computername))"
|
||||||
},
|
},
|
||||||
"protectedSettings": {}
|
"protectedSettings": {}
|
||||||
@ -363,7 +363,7 @@ Add-Content -Path 'C:\inetpub\\wwwroot\video\iisstart.htm' -Value $('Images from
|
|||||||
"type": "CustomScriptExtension",
|
"type": "CustomScriptExtension",
|
||||||
"typeHandlerVersion": "1.7",
|
"typeHandlerVersion": "1.7",
|
||||||
"settings": {
|
"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 "video" -Itemtype "Directory" && powershell.exe New-Item -Path "c:\inetpub\wwwroot\video\" -Name "iisstart.htm" -ItemType "file" && powershell.exe
|
"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 "video" -Itemtype "Directory" && powershell.exe New-Item -Path "c:\inetpub\wwwroot\video\" -Name "iisstart.htm" -ItemType "file" && powershell.exe
|
||||||
Add-Content -Path 'C:\inetpub\\wwwroot\video\iisstart.htm' -Value $('Images from: ' + $env:computername))"
|
Add-Content -Path 'C:\inetpub\\wwwroot\video\iisstart.htm' -Value $('Images from: ' + $env:computername))"
|
||||||
},
|
},
|
||||||
"protectedSettings": {}
|
"protectedSettings": {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user