Skip to content

Latest commit

 

History

History
 
 

Trap-with-continue

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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