Fixing Throw in Powershell

This is going to be a short post because I’m only reiterating what another blogger has already written . I’m reiterating here because more people should understand this. If you’ve written any amount of powershell, you probably know that Throw does not behave the way that one would expect. James’ post has finally clarified something that has gotten me many times, and I always figured out a way around it, but never understood exactly what was happening....

February 3, 2023 · Seth Brasile