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