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\\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 ...

Get Mastering Active Directory - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.