Function to install IIS added

This commit is contained in:
Dmitry Teselkin 2013-03-10 15:10:47 +04:00
parent 58717d9682
commit b03602d35e
4 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,7 @@
include Install-WebServer.ps1
call Install-WebServer
reboot 0
out out.json

View File

@ -0,0 +1 @@
..\ExecutionPlanGenerator.exe ExecutionPlan.txt

View File

@ -0,0 +1,4 @@
function Install-WebServer {
Import-Module ServerManager
Install-WindowsFeature Web-Server -IncludeManagementTools
}

View File

@ -0,0 +1,12 @@
{
"Scripts": [
"ZnVuY3Rpb24gSW5zdGFsbC1XZWJTZXJ2ZXIgew0KICAgIEltcG9ydC1Nb2R1bGUgU2VydmVyTWFuYWdlcg0KICAgIEluc3RhbGwtV2luZG93c0ZlYXR1cmUgV2ViLVNlcnZlciAtSW5jbHVkZU1hbmFnZW1lbnRUb29scw0KfQ0K"
],
"Commands": [
{
"Name": "Install-WebServer",
"Arguments": {}
}
],
"RebootOnCompletion": 0
}