Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

dragon788 commented May 31, 2016

@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