In our pipeline we are using the Chef extension to install Chef Workstation, which works great. I have tested with the berks command, it works as well. But anything with "chef" as the command fails:
Running as root: true
Command: C:\opscode\chef-workstation\bin\chef.bat install
'C:\opscode\chef-workstation\bin\chef.bat' is not recognized as an internal or external command,
operable program or batch file.
##[error]Command exited with code: 1
##[section]Finishing: Install policy