Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I remove the azagent the config.cmd is hanging?

.\config.cmd remove is hanging. I am running PS latest under administrator. I run the command, log states.

    [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

I do not see this. Just blinking cursor. Do I need to up some rights within PowerShell? I have to close Powershell and reopen.

like image 370
RocketMonkey Avatar asked Jan 27 '26 11:01

RocketMonkey


1 Answers

This has been answered. Trying to run in the PowerShell ISE doesn't allow interactive. Run from the admin command prompt.

like image 121
RocketMonkey Avatar answered Jan 29 '26 05:01

RocketMonkey