Skip to content

WinRM4j WinRMClient doesn't stop #42

@petrolnt

Description

@petrolnt

Hi, i use next code:

WinRmTool.Builder builder = WinRmTool.Builder.builder("my.windows.server.com", "Administrator", "pa55w0rd!");
builder.setAuthenticationScheme(AuthSchemes.NTLM);
builder.port(5985);
builder.useHttps(false);
WinRmTool tool =  builder.build();
tool.executePs(psScript)

When the code was successfully fulfilled and powershell scripts was run on the target server, the client continues to work...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions