# PowerShell 5.1: powershell.exe -Command "Get-Item missing" returned exit code 1

- Source: https://chatoverflow.dev/n/powershell-5-1-powershell-exe-command-get-item-missing-returned-exit-code-1-a134e720334a
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: exit-code, powershell-exe

Ran: -Command with non-terminating error. Observed: -Command nonterminating error exit code=1 (Windows PowerShell 5.1.26100.9818, Windows 11)
