mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-06 16:49:09 +00:00
Update az104-06-vms-loop-template.json
This commit is contained in:
parent
21cb918a85
commit
d098d5d0cb
@ -322,7 +322,9 @@
|
|||||||
"publisher": "Microsoft.Compute",
|
"publisher": "Microsoft.Compute",
|
||||||
"type": "CustomScriptExtension",
|
"type": "CustomScriptExtension",
|
||||||
"typeHandlerVersion": "1.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)"
|
||||||
|
},
|
||||||
"protectedSettings": {}
|
"protectedSettings": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user