dsc/ext/PsGallery/xPSDesiredStateConfiguration.6.4.0.0/Tests/Integration/MSFT_xWindowsFeature.config.ps1
param ( [Parameter(Mandatory)] [System.String] $ConfigurationName ) Configuration $ConfigurationName { param ( [Parameter(Mandatory = $true)] [System.String] $Name, [ValidateSet('Present', 'Absent')] [System.String] $Ensure = 'Present', [System.Boolean] $IncludeAllSubFeature = $false ) Import-DscResource -ModuleName 'xPSDesiredStateConfiguration' Node Localhost { xWindowsFeature WindowsFeatureTest { Name = $Name Ensure = $Ensure IncludeAllSubFeature = $IncludeAllSubFeature } } } |