Tests/Integration/TestConfigurations/FunctionDefinitions.config.ps1
Configuration FunctionDefinitions { param ( $Path ) Import-DscResource -ModuleName JeaDsc node localhost { JeaRoleCapabilities FunctionDefinitions { Path = $Path Ensure = 'Present' FunctionDefinitions = '@{Name = "Get-ExampleData"; ScriptBlock = {Get-Command} }' VisibleFunctions = 'Get-ExampleData' } } } |