CWTFIVESEV-63 Fixed problem in PowerShell where bombed out of calling functions early