Tag: PowerShell
-
PowerShell Error Catching
PowerShell error catching has been very frustrating for me. I try to do the right thing by putting code in a Try-Catch-Finally block, but continue to struggle with catching specific errors. I don’t know why the ‘thing’ I need to catch is not output with the error. I have to go through the error and…
-
How to Dot Source a PowerShell Script
Needed to run a self-written PowerShell script outside of ISE and was not able to until dot sourced.