Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 563 Bytes

File metadata and controls

11 lines (8 loc) · 563 Bytes

trap with continue

continue in a trap block tells PowerShell to resume after the statement that caused the error. But this is the statement in the scope where the trap is defined, not the statement that actually failed. In other words, PowerShell resumes where the trap is, not where an error is.

Scripts