Pcornel
Browse topics
Options
Recent
Favorites
Command · Windows / Windows Server / PowerShell

Get-CimInstance Win32_OperatingSystem

Get-CimInstance Win32_OperatingSystem

Reads the Win32_OperatingSystem class through CIM: version, last boot time, free memory.

Execution context

Standard user

Use when

You need OS data or uptime, locally or remotely with -ComputerName.

Privilege Standard userState impact Read-onlyProduction Unknown

Operational impact: Read-only.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeStandard user
Execution contextStandard user
State impactRead-only
Safe during productionUnknown
CategorySystem Information
Evidence levelmixed
Primary DomainWindows
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family Ystem Nformation
PlatformWindows / Windows Server / PowerShell
PrerequisiteStandard user
Output fields

Field glossary

Important fields projected from persisted Command guidance.

Caption, Version, BuildNumber, LastBootUpTime, FreePhysicalMemory, TotalVisibleMemorySize

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsWindows

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Shows the OS properties reported by CIM.

Does not prove

Does not prove other WMI classes or providers work.

Next check

Test remote access with Test-WSMan <computer>.

Depth when you need it

Command guidance

Execution context

Standard user

Use when

You need OS data or uptime, locally or remotely with -ComputerName.

Important fields

Caption, Version, BuildNumber, LastBootUpTime, FreePhysicalMemory, TotalVisibleMemorySize

Common problems

remote CIM blocked by firewall or WinRM; old WMIC scripts

Operational impact

Read-only.

Technical context

Get-CimInstance replaces the older Get-WmiObject and the deprecated wmic tool. Remote use goes over WinRM.

Confirmation

Confirm action

Continue?