首页 > 解决方案 > 如何删除 config.cmd 挂起的 azagent?

问题描述

.\config.cmd remove 挂起。我在管理员下运行最新的 PS。我运行命令,记录状态。

    [2020-03-25 17:45:09Z INFO Terminal] WRITE LINE: Removing agent from the server
    [2020-03-25 17:45:09Z INFO ConfigurationStore] IsConfigured()
    [2020-03-25 17:45:09Z INFO ConfigurationStore] IsConfigured: True
    [2020-03-25 17:45:09Z INFO ConfigurationStore] HasCredentials()
    [2020-03-25 17:45:09Z INFO ConfigurationStore] stored True
    [2020-03-25 17:45:09Z INFO ConfigurationStore] Read setting file: 189 chars
    [2020-03-25 17:45:09Z INFO ConfigurationManager] GetCredentialProvider
    [2020-03-25 17:45:09Z INFO CommandSettings] Arg 'auth': ''
    [2020-03-25 17:45:09Z INFO CommandSettings] Flag 'unattended': 'False'
    [2020-03-25 17:45:09Z INFO PromptManager] ReadValue
    [2020-03-25 17:45:09Z INFO Terminal] WRITE: Enter authentication type (press enter for PAT) > 
    [2020-03-25 17:45:09Z INFO Terminal] READ LINE

我没有看到这一点。只是闪烁的光标。我需要在 PowerShell 中设置一些权限吗?我必须关闭 Powershell 并重新打开。

标签: azure-devopsazure-pipelines-release-pipeline

解决方案


这已经回答了。尝试在 PowerShell ISE 中运行不允许交互。从管理员命令提示符运行。


推荐阅读