Notifications

27 views

Description

The list of commands and cmdlets that the restricted mode provides is not enough for the needed set of commands for a full discovery experience with JEA. A list of commands is shown in  Role Capability file: jea_disco.psrc, you can find the details here.

Instructions

Since the "RestrictedRemoteServer" SessionType will not be able to execute all the commands which we want, we are doing with "Default" SessionType as per design as a need to perform the desired discovery.

Additional Information

The RestrictedRemoteServer command list does not suffices for the needed set of commands.

RestrictedRemoteServer is defined as explained in the following Microsoft documentation:

The -SessionType RestrictedRemoteServer field indicates that the session configuration is used by JEA for secure management. Sessions of this type operate in NoLanguage mode and only have access to the following default commands (and aliases):

Clear-Host (cls, clear)
Exit-PSSession (exsn, exit)
Get-Command (gcm)
Get-FormatData
Get-Help
Measure-Object (measure)
Out-Default
Select-Object (select)

Article Information

Last Updated:2020-10-05 23:06:00
Published:2020-09-28