Posted by: Pdfprep
Post Date: November 20, 2020
Your network contains an Active Directory domain named contoso.com. The domain contains a server named Server1.
On Server1, administrators plan to use several scripts that have the .ps1 extension.
You need to ensure that when code is generated from the scripts, an event containing the details of the code is logged in the Operational log.
Which Group Policy setting or settings should you configure?
A . Audit Process Creation and Audit Process Termination
B . Turn on PowerShell Transcription
C . Enable Protected Event Logging
D . Turn on PowerShell Script Block Logging
Answer: D
Explanation:
References:
https://docs.microsoft.com/en-us/powershell/wmf/whats-new/script-logging
Leave a Reply