Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Objects

Direct answer

PowerShell works with objects that carry type information, properties and methods. The object visible in the pipeline can be richer than the formatted table shown in the console, and remote/serialized objects can differ from live local objects even when properties look similar.

When to use this

Use this topic when extracting data reliably, debugging missing properties/methods, understanding deserialized remoting output, selecting/calculating properties, or avoiding fragile text parsing.

First 30 seconds

1. <cmd> | Get-Member — type, properties, methods.

2. Select properties: Select-Object Name,Status.

3. Filter by property: Where-Object Status -eq 'Running'.

4. Avoid parsing text output.

5. Export: Export-Csv / ConvertTo-Json.

Operational verification

cmdlet emits objects → properties and methods → filtered/selected → formatted or exported

Evidence · next step

Re-query the authoritative target or move the operation to the remote/live side before method-dependent work.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Do not parse Format-Table output to recover data. Do not pipe formatting output into commands expecting domain objects. Do not assume a remote/deserialized object is equivalent to a local live object solely because the property names match.

Platform / version applicability
Windows execution, automation and observability
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows execution, automation and observability
Scope / prerequisiteUse this topic when extracting data reliably, debugging missing properties/methods, understanding deserialized remoting…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

When a pipeline behaves unexpectedly, capture the object before and after each transformation and inspect type/member changes. For remote data, compare local live type with returned deserialized type. Verify target state with a fresh query rather than assuming the previously captured object remains current.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Formatted output is a view of an object, not the object itself.
  • Get-Member reveals type members available in the current pipeline object.
  • PowerShell can add adapted/extended properties through its Extended Type System.
  • Serialized remote objects often preserve data properties but not live methods/behavior.
  • Converting to text early discards structure and makes later filtering/sorting harder.
Key checks
  • <cmd> | Get-Member — object type and members
  • $PSVersionTable — PowerShell edition and version
  • Get-Command <name> — which cmdlet/function/exe runs
  • Get-Help <cmdlet> -Full — syntax and parameters
  • Get-ExecutionPolicy -List — execution policy per scope
ReferenceWhat it is1 section · depth on demand

Core model

PowerShell treats command output as structured data. Properties can be filtered, sorted, grouped and passed directly to other commands without parsing column positions. This object-first model is the basis for robust automation.

ReferenceImportant terms & boundaries2 sections · depth on demand

PowerShell boundary

The Extended Type System can adapt .NET objects and add display/type metadata. Remote sessions commonly serialize objects into property bags, so a deserialized object can look familiar but cannot necessarily execute the same methods as the live original. Formatting cmdlets should be used at the end of a pipeline because they emit formatting instructions rather than the original domain objects.

In depth

PowerShell pipes .NET objects, not text. Every result has properties and methods you can filter, sort and format without parsing strings.

Get-Process | Where-Object CPU -gt 100 | Sort-Object CPU -Descending | Select-Object Name,Id,CPU -First 5
Get-Service | Get-Member -MemberType Property
(Get-Item C:\Windows).CreationTime.Year
[pscustomobject]@{Host=$env:COMPUTERNAME; Uptime=(Get-Date)-(Get-CimInstance Win32_OperatingSystem).LastBootUpTime}

Format cmdlets (Format-Table, Format-List) belong at the end of a pipeline — after them you have formatting objects, not data.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows execution, automation and observability current

Authoritative/upstream documentation reviewed for bounded claims in PowerShell → Objects. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/powershell/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
powershell objectsget-member powershellpowershell object vs textdeserialized powershell objects
Embedded reference data

Quick lookup tables

PowerShell → Objects reference map

Fast lookup boundaries for PowerShell → Objects.

ItemMeaningEvidence boundary
TypeObject identity/contracttype can change across serialization/module versions
PropertyStructured valuesnapshot value may become stale
MethodBehavior on live objectoften unavailable on deserialized objects
FormattingDisplay projectionnot reliable data contract
SerializationTransport/storage representationcan lose live behavior/type fidelity
Confirmation

Confirm action

Continue?