Files

30 lines
514 B
PowerShell

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
}
}