Non-Terminating Error
noun
say it: “NON TER-mih-nay-ting AIR-er” /ˈnɑn ˈtɜrməˌneɪtɪŋ ˈɛrər/
An error about one item that a command reports and then carries on with its other items.
What is a non-terminating error in PowerShell?
A non-terminating error is about one item: the command reports it and carries on with the others, like a mail carrier bringing back one wrongly addressed letter. In a script the next line runs too, so add -ErrorAction Stop where carrying on could do harm.
Copy-Item inbox\2026-10-03-groceries.pdf, inbox\2026-10-30-gas.pdf -Destination backup-drive
# Copy-Item: Cannot find path '...\inbox\2026-10-30-gas.pdf' because it does not exist.
Get-ChildItem backup-drive -Name
# 2026-10-03-groceries.pdf
In a sentence
- “Because the copy's failure was a non-terminating error, Sam's script went on to delete the originals.”
- “One mistyped receipt name gave a non-terminating error, and the other two receipts were still copied.”
Level: Journeyman · More PowerShell terms at this level
Updated