WMI query tool
Project description
Python WMI Query Tool
Run a WMI (WQL) query on a remote host.
Installation
Using pip:
pip install pywmitool
Or, clone this project and use the setup
python setup.py install
Help
usage: pywmitool [-h] -a ADDRESS -u USERNAME [-p PASSWORD] [-d DOMAIN] -q WQL [-n NAMESPACE] [--debug] [--version]
optional arguments:
-h, --help show this help message and exit
-a ADDRESS, --address ADDRESS
host name or address of remote host
-u USERNAME, --username USERNAME
Username
-p PASSWORD, --password PASSWORD
password (asked if not provided)
-d DOMAIN, --domain DOMAIN
optional domain name
-q WQL, --wql WQL WQL string
-n NAMESPACE, --namespace NAMESPACE
Namespace, defaults to `root/cimv2`
--debug Enable debug logging
--version Print version and exit
Example usage
pywmitool -a HOST_OR_IP -u USERNAME -q "SELECT Name FROM Win32_OperatingSystem"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywmitool-0.1.3.tar.gz
(4.2 kB
view details)
File details
Details for the file pywmitool-0.1.3.tar.gz
.
File metadata
- Download URL: pywmitool-0.1.3.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14120bad9f3b211a3bb22c19f1b5fe98800b5443a2e71c977b098d62351d125c |
|
MD5 | 8ff4d5fc53c53afbc954eac768bc2834 |
|
BLAKE2b-256 | 65a3b8af5eedd83f2480d85e0b2285489b150669946fed8e6c713aa8f5494bb0 |