Azure devops 如何删除config.cmd挂起的azagent?

Azure devops 如何删除config.cmd挂起的azagent?,azure-devops,azure-pipelines-release-pipeline,Azure Devops,Azure Pipelines Release Pipeline,.\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

.\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并重新打开。

此问题已得到回答。尝试在PowerShell ISE中运行不允许交互。从管理员命令提示符下运行。

感谢您在此处分享您的解决方案,请您给出答案?因此,它将有助于其他成员谁得到同样的问题,找到解决办法容易。祝你今天愉快:)