Hi,
I have been using psake for quite a while now with no issues on a variety of OS/Bitness combinations however I am running into a problem now attempting to configure a new build server running on Windows Server 2012 (64bit) with Powershell 3.0.
When I execute psake I get the following error:
3/7/2014 10:09:01 AM: An Error Occurred:
The expression after '.' in a pipeline element produced a object that was not
valid. It must result in a command name, script block or CommandInfo object.
At
\\tools\psake\psake.psm1:365
char:11
+ . $MyInvocation.MyCommand.Module $initialization
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : BadExpression
Again, the exact same build script is working fine on all other machines but I am unable to understand why this build is failing on this box.
I have ensured that the Windows Server 2012 machine has all the latest updates/patches/hotfixes.
Any assistance with this issue is greatly appreciated.