xJEA PowerShell Module (DSC Resource Kit)

The xJea module is a part of the Windows PowerShell Desired State Configuration (DSC) Resource Kit, includes the xJeaEndPoint and xJeaToolKit resources, and enables Just Enough Administration (JEA) scenarios.

 
 
 
 
 
4.7 Star
(3)
1,108 times
Add to favorites
Security
8/7/2015
E-mail Twitter del.icio.us Digg Facebook
  • Start-DscConfiguration failing with "The specified username is invalid"
    1 Posts | Last post August 26, 2015
    • I'm trying to configure JEA a server (Windows 2012) but I'm running into a wall when I try to Start-DscConfiguration.
      I started this configuration with a Domain account then with a local account. I'm not sure what I'm missing. Neither account is a member of any groups on the server. Below is the message I'm getting.
      
      PS D:\Scripts\JEA> Start-DscConfiguration -Path C:\jea -ComputerName localhost -force
      VERBOSE: [ServerName]:                            [[xJeaEndPoint]AzureAutoDeployEP] 16:30:20 Start Set
      [EndPoint]AzureAutoDeployEP
      VERBOSE: [ServerName]:                            [[xJeaEndPoint]AzureAutoDeployEP] Test
      [JeaSessionAccount]JSA-AzureAutoDeployEP
      VERBOSE: [ServerName]:                            [[xJeaEndPoint]AzureAutoDeployEP] New
      [JeaSessionAccount]JSA-AzureAutoDeployEP
      DEBUG: [ServerName]:                            [[xJeaEndPoint]AzureAutoDeployEP] ERROR:
      PSMessageDetails      :
      Exception             : System.Management.Automation.MethodInvocationException: Exception calling "SetInfo" with "0"
                              argument(s): "The specified username is invalid.
                              " ---> System.Runtime.InteropServices.COMException: The specified username is invalid.
                                 --- End of inner exception stack trace ---
      
  • Cant connect to Demo endpoints
    3 Posts | Last post May 18, 2015
    • When I run the demo example configs the scripts complete and the endpoints and accounts are created.  When I try and connect to the endpoint I get an unspecified error Error Number -2147467259 0x800004005 followed by Running Startup Script threw an error:  Unspecified Error At Line 1 Char 1.
    • I have found in the initialize-toolkit.ps1 file the write-activtyrecord function is the culprit.  Specifically the Select-String cmdlet to set the $pid.  I am focusing on that now.
    • Hey Sam,
      
      I think you might be running into the issue described in this blog post: http://blogs.msdn.com/b/powershell/archive/2015/05/14/update-jea-for-the-april-wmf-5-0-preview.aspx 
      
      I apologize for not having this page updated with that information.
      
      Thanks,
      John Slack