Bird
0
0

Which benefit does enabling PowerShell script block logging provide to system administrators?

easy📝 Conceptual Q1 of 15
PowerShell - Scripting Best Practices
Which benefit does enabling PowerShell script block logging provide to system administrators?
AIt disables PowerShell remoting by default
BIt automatically blocks all unsigned PowerShell scripts
CIt increases PowerShell script execution speed
DIt records executed PowerShell code blocks for security auditing
Step-by-Step Solution
Solution:
  1. Step 1: Understand script block logging

    Script block logging captures the content of PowerShell scripts and commands executed on the system.
  2. Step 2: Identify its purpose

    This logging helps administrators audit and detect potentially malicious or unauthorized PowerShell activity.
  3. Final Answer:

    It records executed PowerShell code blocks for security auditing -> Option D
  4. Quick Check:

    Script block logging is for auditing, not blocking or performance [OK]
Quick Trick: Logs executed PowerShell code for auditing [OK]
Common Mistakes:
  • Confusing logging with script blocking
  • Assuming it improves performance
  • Thinking it disables remoting

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes