Invoke-Tool error

This topic contains 1 reply, has 2 voices, and was last updated by  Joel Sallow 3 weeks, 5 days ago.

  • Author
  • #103051


    I am getting the below error while executing my powershell script to run onetask in VSTS, can anyone help:
    Invoke-Tool : The term 'Invoke-Tool' is not recognized as the name of a cmdlet, function, script file, or operable
    program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At D:\a\1\s\SOAPUI.ps1:59 char:1
    Invoke-Tool -Path $soapUiExe -Arguments $args
    CategoryInfo : ObjectNotFound: (Invoke-ToolSmiley Frustratedtring) [], CommandNotFoundException
    FullyQualifiedErrorId : CommandNotFoundException

  • #103054

    Joel Sallow

    Sounds like either the module is not installed or is not loaded. Check to see if you can find it with Get-Module -ListAvailable and if not, you can install it:

    Install-Module VstsTaskSdk -Scope CurrentUser

You must be logged in to reply to this topic.