Skip to content

Instantly share code, notes, and snippets.

@RamblingCookieMonster
Created March 3, 2015 23:39
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/84fe75b5a75542168252 to your computer and use it in GitHub Desktop.
Save RamblingCookieMonster/84fe75b5a75542168252 to your computer and use it in GitHub Desktop.
zDSCBlog-DSC.Tests.ps1
Describe "Web Server" {
It "Is Installed" {
$Output = Get-WindowsFeature web-server
$Output.InstallState | Should Be "Installed"
}
It "Includes ASP.NET 4.5" {
$Output = Get-WindowsFeature Web-Asp-Net45
$Output.InstallState | Should Be "Installed"
}
}
Describe "ActiveDirectory Module" {
It "Is Installed" {
$Output = Get-WindowsFeature RSAT-AD-PowerShell
$Output.InstallState | Should Be "Installed"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment