Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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"
}
}
}
/*
@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