Gradle Exec task is not executing commands on remote machine

@Schalk_Cronje Schalk_Cronje, I have tried integrating groowin into my buildscript. It works and tried to connect to port 5985 by default. But on this port the machine is not listening.Then, I overrided port to 4445 on which the machine is listening. Now, it establishes the connection that I can see. But my build get stuck after connecting and does not execute any command. I have attached a picture showing my code snippet and my build status. Could you please suggest something?

task install_vesper_dependencies_on_load_vms << {
    logger.info "Running Vesper on remote machine..."
    remoteManagement {
        host = 'cpt-op-01-load1'
        user = 'CPT-OP\\admin'
        password = 'password'
        
        exec 'del', 'C:\\Temp\\temp.txt'
    }
}