Invoke-Tool error

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

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