Does Windows PowerShell Let Me Trap Errors? Hey Scripting Guy! Does Windows PowerShell have the ability to trap errors? -- JP Hello JP, Yes, it does. Here is an example of using the trap statement in a script. DemoTrapSystemException.ps1 # ------------------------------------------------------------------------