Azure DevOps Hosted Agents - Add Tool (PS Module) to agent

荒凉一梦 提交于 2019-12-02 04:34:00

For PowerShell modules, you can just use Install-Module in an inline script (or at the start of your existing scripts) to ensure they're installed. That, of course, assumes the modules are in the PowerShell Gallery.

Worst case, just put the modules you need in source control and publish them as an artifact along with everything else so you can load them up.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!