nerdexam
Microsoft

70-698 · Question #22

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals. A…

The correct answer is B. No. Running Enable-PSRemoting on Computer1 does not fix remote Event Viewer access because the command must be run on the target machine (Computer2), not the source.

Configure remote management

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals. A user named User1 is a member of the local Administrators group on Computer1 and Computer2. User1 fails to access the Event Viewer logs on Computer 2 from Computer 1. User1 can connect to Computed remotely by using Computer Management. You need to ensure that User1 can use Event Viewer on Computer1 to remotely view the Event Viewer logs on Computer 2. Solution: You run Enable-PSRemoting on Computer 1. Does this meet the goal?

Options

  • AYes
  • BNo

How the community answered

(26 responses)
  • A
    27% (7)
  • B
    73% (19)

Why each option

Running Enable-PSRemoting on Computer1 does not fix remote Event Viewer access because the command must be run on the target machine (Computer2), not the source.

AYes

Enable-PSRemoting on Computer1 only enables Computer1 to receive PS remoting sessions and does nothing to grant or configure remote Event Log access on Computer2.

BNoCorrect

Enable-PSRemoting configures a machine to accept incoming PowerShell remote commands - it is a receiver-side configuration. Running it on Computer1 has no effect on Computer2's ability to expose its Event Log service remotely. To fix the issue, the Remote Event Log Management firewall exception must be enabled on Computer2, or Enable-PSRemoting should be run on Computer2.

Concept tested: Remote Event Viewer access - target vs source configuration

Source: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting

Topics

#Event Viewer#remote management#PSRemoting#firewall rules

Community Discussion

No community discussion yet for this question.

Full 70-698 Practice