You could theoretically set up SSH/SFTP on the windows machine, log in via Net::SSH::Perl or Net::SSH from your other computer and run the commands, then log in via Net::SFTP or Net::SFTP::Foreign and copy the files as necessary. Just make sure to secure the access for a specific IP range, directory, list of commands, etc.