PowerShell - System AdministrationWhat PowerShell cmdlet is used to read a value from the Windows registry?ARemove-ItemBSet-ItemPropertyCNew-ItemDGet-ItemPropertyCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand cmdlet purposesGet-ItemProperty reads registry values, Set-ItemProperty writes values, New-Item creates keys, Remove-Item deletes keys.Step 2: Identify reading operationSince the question asks about reading, Get-ItemProperty is the correct cmdlet.Final Answer:Get-ItemProperty -> Option DQuick Check:Read registry value = Get-ItemProperty [OK]Quick Trick: Reading registry uses Get-ItemProperty cmdlet [OK]Common Mistakes:Confusing Set-ItemProperty as reading cmdletUsing New-Item or Remove-Item which manage keys, not valuesTrying to read with Remove-Item
Master "System Administration" in PowerShell9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More PowerShell Quizzes Active Directory - Get-ADUser - Quiz 12easy Active Directory - Organizational unit operations - Quiz 8hard Automation Patterns - Scheduled scripts with Task Scheduler - Quiz 7medium Cross-Platform PowerShell - AWS PowerShell module - Quiz 8hard Cross-Platform PowerShell - PowerShell on macOS - Quiz 12easy Scripting Best Practices - Code signing - Quiz 14medium Scripting Best Practices - WhatIf and Confirm support - Quiz 14medium Scripting Best Practices - Parameter validation - Quiz 2easy System Administration - Event log reading - Quiz 4medium System Administration - Environment variables - Quiz 5medium