Tests/Integration/ProcessSet.config.ps1
param ( [Parameter(Mandatory = $true)] [System.String] $ConfigurationName ) Configuration $ConfigurationName { param ( [Parameter(Mandatory = $true)] [ValidateNotNullOrEmpty()] [System.String[]] $ProcessPaths, [ValidateSet('Present', 'Absent')] [System.String] $Ensure = 'Present' ) Import-DscResource -ModuleName 'PSDscResources' ProcessSet ProcessSet1 { Path = $ProcessPaths Ensure = $Ensure } } |