Function to install IIS added
This commit is contained in:
parent
58717d9682
commit
b03602d35e
7
Deployment/ExecutionPlan/InstallIIS/ExecutionPlan.txt
Normal file
7
Deployment/ExecutionPlan/InstallIIS/ExecutionPlan.txt
Normal file
@ -0,0 +1,7 @@
|
||||
include Install-WebServer.ps1
|
||||
|
||||
call Install-WebServer
|
||||
|
||||
reboot 0
|
||||
|
||||
out out.json
|
1
Deployment/ExecutionPlan/InstallIIS/GenerateJSON.bat
Normal file
1
Deployment/ExecutionPlan/InstallIIS/GenerateJSON.bat
Normal file
@ -0,0 +1 @@
|
||||
..\ExecutionPlanGenerator.exe ExecutionPlan.txt
|
@ -0,0 +1,4 @@
|
||||
function Install-WebServer {
|
||||
Import-Module ServerManager
|
||||
Install-WindowsFeature Web-Server -IncludeManagementTools
|
||||
}
|
12
Deployment/ExecutionPlan/InstallIIS/out.json
Normal file
12
Deployment/ExecutionPlan/InstallIIS/out.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"Scripts": [
|
||||
"ZnVuY3Rpb24gSW5zdGFsbC1XZWJTZXJ2ZXIgew0KICAgIEltcG9ydC1Nb2R1bGUgU2VydmVyTWFuYWdlcg0KICAgIEluc3RhbGwtV2luZG93c0ZlYXR1cmUgV2ViLVNlcnZlciAtSW5jbHVkZU1hbmFnZW1lbnRUb29scw0KfQ0K"
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"Name": "Install-WebServer",
|
||||
"Arguments": {}
|
||||
}
|
||||
],
|
||||
"RebootOnCompletion": 0
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user