Get-ItemProperty

noun

say it: “GET I-tum PROP-ur-tee” /ˈɡɛt ˈaɪtəm ˈprɑpɚti/

A PowerShell command that reads an item's properties; in the Windows registry, the named settings stored in a key.

What does Get-ItemProperty do?

Get-ItemProperty reads an item's properties. On a registry drive, an item is a key and its properties are the key's values, the named settings inside it. Select-Object keeps the ones you want; Get-ItemPropertyValue hands back one value on its own.

Get-ItemProperty -Path 'HKCU:\Control Panel\Mouse' | Select-Object DoubleClickSpeed, SwapMouseButtons
# DoubleClickSpeed SwapMouseButtons
# 500              0

In a sentence

  • “Sam read Windows' build from the registry with Get-ItemProperty and Select-Object.”
  • “Get-ItemProperty showed that the mouse's DoubleClickSpeed was 500.”

Level: Journeyman · More PowerShell terms at this level

Updated