python-wsmanclient/doc/source/usage.rst

422 B

Usage

Create a client object by providing the connection details:

client = wsmanclient.Client('1.2.3.4', 'username', 's3cr3t')

Note

By default it will use port 443, '/wsman' as path and https protocol.

You can override the default port, path and protocol:

client = wsmanclient.Client('1.2.3.4', 'username', 's3cr3t', port=443,
                            path='/wsman', protocol='https')