【问题标题】:WinRM - IIS Web App Management Azure Pipelines errorWinRM - IIS Web 应用程序管理 Azure Pipelines 错误
【发布时间】:2019-12-11 21:36:14
【问题描述】:

我正在尝试通过使用 TFS Step 远程连接到网站的应用程序池来停止该应用程序池。 该步骤似乎配置正确。部署步骤有效,但 IIS 管理无效

这是管理 IIS 网站步骤:

在日志中,我收到一个错误,反馈不多。我在网上也找不到任何东西

这是日志错误Microsoft.PowerShell.Commands.WriteErrorException: Caught exception while executing main function: The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.

有没有办法做到这一点,或者通过我可以在 powershell 任务中运行的 powershell 脚本?

【问题讨论】:

    标签: tfs azure-devops azure-pipelines


    【解决方案1】:

    为空的参数是 adminPassword 变量。未显示详细信息,需要调试 TFS 的实际脚本。

    【讨论】:

    • 非常感谢您在这里分享您的解决方案,如果是,请您接受您的解决方案作为答案吗?因此,对于遇到相同问题的其他成员轻松找到解决方案将很有帮助。祝你有美好的一天:)
    猜你喜欢
    • 2021-11-21
    • 2023-04-01
    • 2018-04-01
    • 2019-07-13
    • 1970-01-01
    • 2019-10-01
    • 1970-01-01
    • 2016-09-27
    • 2020-07-18
    相关资源
    最近更新 更多