CWTFIVESEV-63 Fixed problem in PowerShell where bombed out of calling fu...

...nctions early