Login to windows machine and executing build commands

Hi,

I am new to gitlab and YAML. I want to create a pipeline for .net project which will connect to windows machine(remote) from windows machine (local) and create a build. Please advise.

Thanks, N