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