Bird
0
0

What PowerShell cmdlet is used to read a value from the Windows registry?

easy📝 Conceptual Q11 of 15
PowerShell - System Administration
What PowerShell cmdlet is used to read a value from the Windows registry?
ARemove-Item
BSet-ItemProperty
CNew-Item
DGet-ItemProperty
Step-by-Step Solution
Solution:
  1. Step 1: Understand cmdlet purposes

    Get-ItemProperty reads registry values, Set-ItemProperty writes values, New-Item creates keys, Remove-Item deletes keys.
  2. Step 2: Identify reading operation

    Since the question asks about reading, Get-ItemProperty is the correct cmdlet.
  3. Final Answer:

    Get-ItemProperty -> Option D
  4. Quick Check:

    Read registry value = Get-ItemProperty [OK]
Quick Trick: Reading registry uses Get-ItemProperty cmdlet [OK]
Common Mistakes:
  • Confusing Set-ItemProperty as reading cmdlet
  • Using New-Item or Remove-Item which manage keys, not values
  • Trying to read with Remove-Item

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes