Install Azure DevOps agent using powershell

With Azure devops you can create incredible automations. But in many cases you will need first to install the azure devops agent in order to run your tasks. Using the below powershell you can automate the installation of an azure devops agent. New-Item “C:\agent” -itemType Directory cd “C:\agent” $url = “https://dev.azure.com/YOUR_ORG” $token = “PAT_TOKEN” $auth … Continue reading Install Azure DevOps agent using powershell