Delete Allfiles/Labs/08/az104-08-custom_script_extension.json

This commit is contained in:
staleycyn 2024-02-23 07:22:50 -08:00 committed by GitHub
parent c3d62d1e26
commit 855375a5a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,18 +0,0 @@
{
"type": "Microsoft.Compute/virtualMachines/extensions",
"name": "az104-08-vm1/customScriptExtension",
"apiVersion": "2018-06-01",
"location": "[resourceGroup().location]",
"dependsOn": [
"az104-08-vm1"
],
"properties": {
"publisher": "Microsoft.Compute",
"type": "CustomScriptExtension",
"typeHandlerVersion": "1.7",
"autoUpgradeMinorVersion": true,
"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 $($env:computername)"
}
}
},