Created
August 2, 2016 19:24
-
-
Save guitarrapc/17c0697243d0d48b1fbfe93eb20a59dc to your computer and use it in GitHub Desktop.
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 FeatureNetCore | |
{ | |
Import-DscResource -ModuleName PSDesiredStateConfiguration; | |
Node localhost | |
{ | |
WindowsFeature NET-Framework-Core | |
{ | |
Ensure = "Present" | |
Name = "NET-Framework-Core" | |
IncludeAllSubFeature = $false | |
LogPath = "C:\Logs\DSC\WindowsFeature\NET-Framework-Core.txt" | |
} | |
} | |
} |
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
/* | |
@TargetNode='localhost' | |
@GeneratedBy=SYSTEM | |
@GenerationDate=07/31/2016 14:32:07 | |
@GenerationHost=DSC | |
*/ | |
instance of MSFT_RoleResource as $MSFT_RoleResource1ref | |
{ | |
ResourceID = "[WindowsFeature]NET-Framework-Core::[FeatureNetCore]FeatureNetCore"; | |
IncludeAllSubFeature = False; | |
Ensure = "Present"; | |
SourceInfo = "::10::9::WindowsFeature"; | |
Name = "NET-Framework-Core"; | |
ModuleName = "PSDesiredStateConfiguration"; | |
ModuleVersion = "1.0"; | |
ConfigurationName = "SAMPLE"; | |
}; | |
instance of OMI_ConfigurationDocument | |
{ | |
Version="2.0.0"; | |
MinimumCompatibleVersion = "1.0.0"; | |
CompatibleVersionAdditionalProperties= {"Omi_BaseResource:ConfigurationName"}; | |
Author="SYSTEM"; | |
GenerationDate="07/31/2016 14:32:07"; | |
GenerationHost="DSC"; | |
Name="SAMPLE"; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment