Skip to content

Exception thrown from PowerOn.ps1 #1

Description

I invoke the Integration test as shown below. It fails on the binding of the parameters.

.\Platform\build\TestProduct\Impl\IntegrationTests.ps1 -GuestCredentials "guest_login","pass" -FilesToTest "C:\Tests" -cloneNamePattern "Win7-64bit-TS51-SQL" -VmName "Win7-64bit-TS51-SQL_20140723+Clean" -ViServerData VCenter, USERNAME, PASSWORD

Cannot bind positional parameters because no names were given.
At C:\Users\boris.m\Documents\GitHub\TeamCity-extensions\Platform\build\TestProduct\Impl\InTest\PowerOn.ps1:38 char:39

  •             $jA.data = Receive-Job <<<<  -Job $j
    
    • CategoryInfo : InvalidArgument: (:) [VirtualEnvironment.ps1], ParameterBindingException
    • FullyQualifiedErrorId : AmbiguousPositionalParameterNoName,VirtualEnvironment.ps1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions