hierynomus/smbj

How excute the command on remover server

selvakumartvsk opened this issue · 3 comments

We have requirement, we have to execute the bat file on remote server in java , so how to achieve that by
SMBclient

@hierynomus Could you help me on this?
Whether this is achievable by using SMBclient()

@selvakumartvsk No, the SMB protocol is not suited for command execution. For that you would need WinRM.

@hierynomus Thanks for the information.