All of sudden I m getting the error
"2018-08-30T06:19:30.8460321Z ##[error]The term 'powershell.exe' 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. " while executing PS task in VSTS .
My PS task has simple Write-Host $variable statement, it worked till y'day and something went wrong, tried rebooting target machine, ensured PS is available etc.
Any debugging steps please ?
powershell.exe
in thecmd
works within your agent ? – Jayendran