I submitted this on Microsoft Connect a few weeks ago, it took me a while to troubleshoot this one.
by coderaven at 2012-11-13 12:38:08
Thanks for the heads up!
Keep in mind there are 2 workarounds
[quote]Posted by fatbeard on 10/5/2012 at 5:47 AM You can get around the error by either starting PowerShell with -NoProfile or commenting out New-PSDrive in the profile. Posted by Jeffery Hicks on 10/31/2012 at 6:09 AM As long as you run the workflow from a standard drive, like C:, it will run.[/quote]