Invoke-Tool error

Welcome Forums General PowerShell Q&A Invoke-Tool error

This topic contains 1 reply, has 2 voices, and was last updated by

11 months ago.

  • Author
  • #103051

    Topics: 1
    Replies: 0
    Points: 0
    Rank: Member

    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

    Topics: 2
    Replies: 426
    Points: 825
    Helping Hand
    Rank: Major Contributor

    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

The topic ‘Invoke-Tool error’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort