Some ideas here.
http://woshub.com/using-powershell-just-enough-administration-jea/
--please don't forget to Accept as answer if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am building a JEA file for Domain Controllers, one file will be to perform read only items, the second file would be to perform certain executable/ change items like restart services or do role activities.
I have read the various documentation out there but have not seen anything regarding domain controllers... What would be ideal to have in a DC jea file?
If there a JEA template out there with settings ideal for Domain Controllers?
Some ideas here.
http://woshub.com/using-powershell-just-enough-administration-jea/
--please don't forget to Accept as answer if the reply is helpful--
Hi,
Thank you for posting in our forum.
First of all, create a configuration file of a PowerShell session (*.pssc). To do it, run this command on your domain controller:
New-PSSessionConfigurationFile -Path 'C:\Program Files\WindowsPowerShell\dc_manage.pssc'
Open the PSSC file using the Notepad.
The PSSC file sets who may connect to this JEA endpoint and under what account the commands in the JEA session will run.
Modify the following values:
SessionType from Default to RestrictedRemoteServer. This mode allows to use the following PowerShell cmdlets: Clear-Host, Exit-PSSession, Get-Command, Get-FormatData, Get-Help, Measure-Object, Out-Default or Select-Objectl
Specify a folder (create it) in the TranscriptDirectory parameter. Here you will log all JEA user actions: TranscriptDirectory = C:\PS\JEA_logs
The RunAsVirtualAccount option allows to run commands under a virtual administrator account (member of the local Administrator or Domain Administrator group): RunAsVirtualAccount = $true
For specific steps, please refer to the link provided by Patrick. The following link can give you some information:
Hope this information can help you
Best wishes
Vicky
Just checking if there's any progress or updates?
--please don't forget to Accept as answer
if the reply is helpful--
Hi,
Glad your problem has been solved
Best wishes
Vicky