Bird
0
0

Which PowerShell cmdlet is used to create a new registry key?

easy📝 Conceptual Q1 of 15
PowerShell - System Administration
Which PowerShell cmdlet is used to create a new registry key?
AGet-ItemProperty
BSet-ItemProperty
CNew-Item
DRemove-Item
Step-by-Step Solution
Solution:
  1. Step 1: Understand cmdlet purpose

    New-Item is used to create new items, including registry keys.
  2. Step 2: Compare other cmdlets

    Set-ItemProperty changes values, Get-ItemProperty reads values, Remove-Item deletes keys.
  3. Final Answer:

    New-Item -> Option C
  4. Quick Check:

    Create registry key = New-Item [OK]
Quick Trick: Use New-Item to create keys, not Set-ItemProperty [OK]
Common Mistakes:
  • Confusing Set-ItemProperty with New-Item
  • Using Get-ItemProperty to create keys
  • Trying Remove-Item to create keys

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes