# Get-Item

*noun*

say it: **“GET EYE-tum”** **/ˈɡɛt ˈaɪtəm/**

A PowerShell command that gets one file or folder by its name, as an object with facts such as its size and last change.

## What does **Get-Item** do?

`Get-Item` gets one file or folder by its name or path, as an object with properties such as `Name`, `Length` and `LastWriteTime`. Where `Get-ChildItem` lists what is **inside** a folder, `Get-Item` hands you the thing itself, ready for a dot or `Get-Member`.

```powershell
(Get-Item sunset.jpg).Length
Get-Item sunset.jpg | Get-Member -MemberType Property
```

## In a sentence

- “Sam piped **Get-Item** into Get-Member to see what a file knows about itself.”
- “(Get-Item sunset.jpg).Length gave the photo's size in bytes, using **Get-Item**.”

Level: Novice · [More PowerShell terms at this level](https://www.ask-codey.com/glossary?category=powershell&level=1)

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/get-item
