Closed ghostsquad closed 9 years ago
Thanks for the commit. I will test it out.
I've also replaced write-error with throw. http://stackoverflow.com/questions/9294949/when-should-i-use-write-error-vs-throw
All the areas that you are using write-error at are as a result of a critical issue. Write-Error is only a means to write non-terminating errors.
I did a bit of refactoring of these functions to
There were quite a few lines with just whitespace, so it looks like a lot more has changed.