I want to restore a sqlserver db backup on remote windows server from linux. I tired "net rpc" but there is nothing for execute a command or script on remote server.
Linux – Is it possible to run a command on windows server from Linux
bashlinuxremote-accessscriptingwindows
Related Topic
- Windows – What’s the command-line utility in Windows to do a reverse DNS look-up
- Linux command line best practices and tips
- Linux – Is it possible to run a batch script remotely on a Windows machine from Linux without installing ssh
- Linux – How to run a server on port 80 as a normal user on Linux
- Git for Windows – How to Tell Git Where to Find Private RSA Key
- Linux – Running Linux Script from Windows in backgound
- Linux – How to connect remote windows machine from linux terminal
Best Answer
Check out winexe - it depends on samba, uses RPC to run remote commands and might even come with your distribution's packages.
Edit: even if your distro does not have it precompiled and you do not want to compile yourself, you should check out the Build Service - it is likely to have the binary version you would need for your system.