
Explanation:

Infrastructure documents : =
In Just Enough Administration (JEA), you restrict what remote users can do by creating two artifacts: role capability files ( *.psrc ) and a session configu ration file ( *.pssc ). The role capability file defines which commands are visible/usable (for example, specific Hyper-V cmdlets via VisibleCmdlets , VisibleFunctions , or VisibleExternalCommands ). The session configuration file then maps users or groups to o ne or more role capabilities using RoleDefinitions .
The Administering Windows Server Hybrid Core Infrastructure material explains that once those files are authored, you must expose a JEA endpoint by registering the session configuration on the target serv er.
This is accomplished with Register-PSSessionConfiguration , pointing to the PS session configuration file (
.pssc ) . Registering the endpoint enforces the role capability restrictions when helpdesk users connect (for example, Enter-PSSession -Configuratio nName HyperVJeaHelpDesk -ComputerName Server1 ).
New-PSSessionConfigurationFile is used earlier to create the .pssc file, but the prompt states the files are already built. Enter-PSSession only starts a session and does not publish the configuration. Theref ore, the correct command to limit which Hyper-V module cmdlets helpdesk users can use is:
Register-PSSessionConfiguration -Path .\HyperVJeaConfig.pssc -Name ' HyperVJeaHelpDesk ' -Force .