Update Powershell.MWA.psm1

Forgot to implement issues #1 and #2 in all code paths.