I've currently got a VM (win os) running in Azure. The vm has a service running. I would like the devops pipelines to:
- access the VM
- stop the service
- upload the new built service (built artifact)
- start the updated service
rdp and ssh are disabled on the vm
The main problem is that I've no idea how to access/be in the VM from devops pipelines.
Was wondering if there is specific powershell package I can use or any simple solution?
There is another similar question that takes in consideration creating custom agents in Azure and connected to devops How to access Azure VM from AzureDevOps Pipelines? But I would like to use the default devops agent available