Last active
August 29, 2015 14:23
-
-
Save jamesallen-cm/7558a3504c27b31dc3a7 to your computer and use it in GitHub Desktop.
Creates a config for SMTP. This will be applied to all computers that have the associated application guid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configuration SMTP { | |
Import-DscResource -ModuleName @{ModuleName="PSDesiredStateConfiguration";ModuleVersion="1.1"} | |
Node HTTPComputers { | |
WindowsFeature SMTP{ | |
Name = 'SMTP-Server' | |
Ensure = 'Present' | |
} | |
} | |
} | |
SMTP -OutputPath C:\DSC\HTTP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment