Just Enough Administration (JEA)
JEA lets you give someone exactly the permissions they need — nothing more.
How It Works
- Role Capability file — defines allowed cmdlets.
- Session Configuration file — defines who can connect.
- Register the endpoint — makes it available.
Create a Role
New-PSRoleCapabilityFile -Path HelpDesk.psrc -VisibleCmdlets Restart-Service, Get-Service
Register
New-PSSessionConfigurationFile -Path HelpDesk.pssc -SessionType RestrictedRemoteServer Register-PSSessionConfiguration -Path HelpDesk.pssc -Name HelpDesk -Force