Quote
this doesn't really help. If answer to everything is google, they might as well shut down this subforum. I have build try/catch, but I still get error messages printed out.
actually it does help. if you took the 20 seconds to actually google his search term he gave you it would lead you to a tech blog which tells you that you need to include catch cases within your catch line, such as `system.exception`. the layout is much like schwag posted and is pretty much common sense if you programed in any other language which uses try catch final based error handling.
if powershell is anything like the other languages you should be able to do this
Code
Catch [system.exception e] {
//print something with e.message or w/e
}
next time take the time to read and follow the post when someone decides to help you rather than trying to be foon fed. also posting any link outside of the jsp domain is now a suspendable offence which is loosly moderated to everyone but a select few people who the mods seem to hate. so deal with it.
-Ducks with Abs 40 days left