Skip to main content

CLI for Windows Remote Management

Project description

harness-pywinrm

CLI library for interacting with Windows machines via the Windows Remote Management (WinRM) service, using Kerberos authentication.

Installation

To install the library, run:

pip install harness-pywinrm

Usage

Here’s an example of how to use it:

# Create file_with_command file with command to be executed on remote machine

# HTTPS - 5986
harness-pywinrm -e https://hostname.domain.com:5986/wsman -u Principal@Realm -s false -env {KEY1=VALUE1,KEY2=VALUE2} -w %USERPROFILE% -t 1800000 -cfile file_with_command

# HTTP - 5985
harness-pywinrm -e http://hostname.domain.com:5985/wsman -u Principal@Realm -s false -env {KEY1=VALUE1,KEY2=VALUE2} -w %USERPROFILE% -t 1800000 -cfile file_with_command

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

harness-pywinrm-0.4.4.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

harness_pywinrm-0.4.4-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file harness-pywinrm-0.4.4.tar.gz.

File metadata

  • Download URL: harness-pywinrm-0.4.4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for harness-pywinrm-0.4.4.tar.gz
Algorithm Hash digest
SHA256 d7d7b5e4656bd6f783bbb2e32ffb82352b1475c1aad81ed4031eeac0e5a543f5
MD5 a90d0d5f2d7ffaecf063f8a7252251d1
BLAKE2b-256 a1903445640e1e3527046419cc7aa066b8d946314b16eb26d56fa5c97ec0a4c0

See more details on using hashes here.

File details

Details for the file harness_pywinrm-0.4.4-py3-none-any.whl.

File metadata

File hashes

Hashes for harness_pywinrm-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8379b45f9460c3e2d58e6f427335c1afd1c66914d495086166c27092d625e070
MD5 21f92f609ccceef25a24733de300f03d
BLAKE2b-256 e017eb397dc1ea584af1e235cf9a04e5061f671099e127278561e635b37e2de8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page