Skip to content

Instantly share code, notes, and snippets.

@RamblingCookieMonster
Created March 3, 2015 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RamblingCookieMonster/7024b780174a95a3f9db to your computer and use it in GitHub Desktop.
Save RamblingCookieMonster/7024b780174a95a3f9db to your computer and use it in GitHub Desktop.
zDSCBlog-WebServer.ps1
Configuration ContosoWebsite
{
param (
[string[]]$ComputerName = $ENV:ComputerName
)
Node $ComputerName
{
#Install the IIS Role
WindowsFeature IIS
{
Ensure = "Present"
Name = "Web-Server""
}
#Install ASP.NET 4.5
WindowsFeature ASP
{
Ensure = "Present"
Name = "Web-Asp-Net45"
}
#Install PowerShell AD... for fun...
WindowsFeature ADPS
{
Ensure = "Present"
Name = "RSAT-AD-PowerShell"
}
}
}
@dragon788
Copy link

@RamblingCookieMonster Extra double quote on line 12 is breaking syntax highlighting for the remainder of the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment