Author Posts

August 20, 2016 at 4:23 pm

When I run below script, why doesn't the management tools like IIS manager get installed?

should we explicitly call for them to be installed?

Configuration Mywebserver
{
Node "LocalHost"

{ WindowsFeature IIS

{ Ensure = "Present"
Name = "Web-WebServer"

}
}

}

Mywebserver

Start-DscConfiguration -ComputerName "localhost" -Path C:\Mywebserver -Wait -Verbose -Force

August 20, 2016 at 7:21 pm

Hi,

The management tools are a feature of their own so go like this:


    WindowsFeature IIS
   {
       Ensure = "Present"
       Name = "Web-WebServer"
   }
   
   WindowsFeature IIS_MGMT
   {
       Ensure = "Present"
       Name = "Web-Mgmt-Tools"
   }

  • This reply was modified 2 years, 1 month ago by  Arie H.
  • This reply was modified 2 years, 1 month ago by  Arie H.