JEA comes with three demo endpoint configurations, which we can use as references to create an endpoint. These demo files are also located at C:\ProgramFiles\WindowsPowerShell\Modules\xJea\0.2.16.6\Examples and Demo1.ps1, which include the following:
cls configuration Demo1{ Import-DscResource -module xjea xJeaToolKit Process { Name = 'Process' CommandSpecs = @"Name,Parameter,ValidateSet,ValidatePattern Get-Process Get-Service Stop-Process,Name,calc;notepad Restart-Service,Name,,^A"@ } xJeaEndPoint Demo1EP { Name = 'Demo1EP' Toolkit = 'Process' SecurityDescriptorSddl = 'O:NSG:BAD:P(A;;GX;;;WD)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)' DependsOn = '[xJeaToolKit]Process' }}Demo1 -OutputPath C:\JeaDemoStart-DscConfiguration -Path C:\JeaDemo ...