Reader small image

You're reading from  Mastering PowerShell Scripting - Fourth Edition

Product typeBook
Published inJun 2021
PublisherPackt
ISBN-139781800206540
Edition4th Edition
Right arrow
Author (1)
Chris Dent
Chris Dent
author image
Chris Dent

Chris Dent is an automation specialist with deep expertise in the PowerShell language. Chris is often found answering questions about PowerShell in both the UK and virtual PowerShell user groups. Chris has been developing in PowerShell since 2007 and has released several modules over the years.
Read more about Chris Dent

Right arrow

Just Enough Administration

Just Enough Administration (JEA) leverages PowerShell remoting to allow administrative delegation via a remoting session.

JEA consists of:

  • A session configuration file that describes the commands to be made available and language modes
  • A registered PSSession configuration that is created based on that file
  • Access control that is set on the PSSession configuration

JEA documentation can be found on Microsoft Docs:

https://docs.microsoft.com/powershell/scripting/learn/remoting/jea/overview?view=powershell-7

JEA configuration is defined in a session configuration file. The file is saved as a PowerShell Data File (a PSSC file, the same format as psd1 files) and is used to define and register the JEA remoting endpoint.

Microsoft has a couple of small examples that can be viewed on GitHub:

https://github.com/PowerShell/JEA

JEA can be configured manually, as shown in the following sections, or using a DSC configuration...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerShell Scripting - Fourth Edition
Published in: Jun 2021Publisher: PacktISBN-13: 9781800206540

Author (1)

author image
Chris Dent

Chris Dent is an automation specialist with deep expertise in the PowerShell language. Chris is often found answering questions about PowerShell in both the UK and virtual PowerShell user groups. Chris has been developing in PowerShell since 2007 and has released several modules over the years.
Read more about Chris Dent