How to map a network drive on Azure Pipeline Agent with Windows Server 2019? I'm trying to upload large files from that Azure server to another server.
This command works on my own PC:
NET USE K: https://xxxxx/remote.php/dav/files/xxxxx/ /user:xxxxxx "xxxxxx"
When I do that on the Azure Pipelines Agent with Windows Server 2019 it says:
system error 67 The network name cannot be found
I need a solution that can be done via the commandline or Powershell, I think. The server has a UI but I can't access that, afaik.
I also tried some NodeJS modules that interface with Next-Cloud via webdav, but those didn't work well with chunked file uploads of ~600 MB.
Edit: I think I need to install: Install-WindowsFeature WebDAV-Redirector. How to do that on an agent? It requires a restart.
Hmm, I geuss I need a selfhosted vm.