winrm
winrm copied to clipboard
Command-line tool and library for Windows remote command execution in Go
Hi, My use case : I sent a huge stdin to a powershell in order to transfer a file. I send a base64 stream which is decoded on the fly...
When we execute powershell commands (with convertto-json option) remotely using winrm client, we observe that the json output of powershell getting truncated. Initially we thought this may be due to...
`endpoint := &winrm.Endpoint{Host: "Host", Port: 5985, HTTPS: false, Insecure: false, CACert: nil, Cert: nil, Key: nil, Timeout: 100}` `params := winrm.Parameters{TransportDecorator: func() winrm.Transporter { return &winrm.ClientNTLM{} }}` `client, err =...
Currently we need to disable message level encryption using AllowUnencrypted=false. Are there any plans to implement that - or thoughts on how difficult it might be?
Getting error above on this command: ``` winrm -hostname "192.168.250.128" --username "user" -password "password" "ifconfig /all" ``` Windows has default settings, I can connect using `pywinrm`.
Implement the NegotiateEncryptedMessage message in the MS-WSMV protocol document 2.2.9.1.1, which is the method of encrypting an HTTP connection on the default 5985 port, and you can refer to pywinrm's...
func main() { endpoint := winrm.NewEndpoint("host", 5985, false, false, nil, nil, nil, 0) params := winrm.DefaultParameters params.TransportDecorator = func() winrm.Transporter { return &winrm.ClientNTLM{} } client, err := winrm.NewClientWithParameters(endpoint, "test", "test",...
## TODO 当出现需要通过winrm对远程资产进行大量账号和资产进行操作时,winrm::Transporter 并没有对 http::Transport 进行足够的配置,且 winrm::Transpoter 无法被自定义实现,会产生大量的连接,导致本地或者远程资产连接超载。 1. 调整 winrm::Transporter 接口 2. 暴露 http::Transport 更多配置项
Hey! There seems to be a problem with windows 11 and certificate auth. I use this to connect: ``` package main import ( "context" "fmt" "os" "github.com/masterzen/winrm" ) func main()...
Greetings. Didn't know where to ask. Let's say I have a ps1 script locally, and I need to run a function on the remote host. Does this library provide a...