dsc/ext/PsGallery/xPSDesiredStateConfiguration.6.4.0.0/Tests/Integration/MSFT_xGroupResource_MembersToIncludeExclude.config.ps1
param ( [Parameter(Mandatory = $true)] [String] $ConfigurationName ) Configuration $ConfigurationName { param ( [Parameter(Mandatory = $true)] [ValidateNotNullOrEmpty()] [String] $GroupName, [ValidateSet('Present', 'Absent')] [ValidateNotNullOrEmpty()] [String] $Ensure = 'Present', [String[]] $MembersToInclude = @(), [String[]] $MembersToExclude = @() ) Import-DscResource -ModuleName 'xPSDesiredStateConfiguration' xGroup Group2 { GroupName = $GroupName Ensure = $Ensure MembersToInclude = $MembersToInclude MembersToExclude = $MembersToExclude } } |