WSMANCLI(1)

πŸ“¦
version 2.8.0 Β· 2 versions
  • 2.8.0 Β· centos-stream 10, centos-stream 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute (latest)
  • 2.8.0 Β· ubuntu stonking
, in centos-stream 10, centos-stream 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute

πŸ’– WSMANCLI πŸ’–

okay bestie, welcome to the manual page for wsmancli, a.k.a. the User Commands girlie known as WSMANCLI(1). she's serving version 2.2.6 (201207311652) and yes, that parenthetical is a timestamp, we love a build number that ate. πŸŽ€


✨ NAME ✨

wsmancli β€” manual page for wsmancli 2.2.6 (201207311652)

she's literally that girl. this is her page. periodt. πŸ’…


🌸 DESCRIPTION 🌸

πŸ¦‹ Usage πŸ¦‹

here's the shape of every invocation, no cap:

wsman [Option...] <action> <Resource Uri>

so you pass some options, then an action, then a Resource Uri, and she goes to work. iconic behaviour fr fr.

πŸ’œ Help Options πŸ’œ

  • -?, --help β€” the classic. ask and she tells.
  • --help-all β€” Show help options. all of them. the whole buffet.
  • --help-enumeration β€” Enumeration Options
  • --help-tests β€” Test Cases
  • --help-cim β€” CIM Options
  • --help-flags β€” Request Flags
  • --help-event β€” Subscription Options

like, she has a help menu for her help menu. main character energy honestly. 🌈

πŸ‘‘ Application Options πŸ‘‘

  • -q, --non-interactive β€” Don't ask for credentials interactively. she just won't ask, she'll just sit there. respect.
  • -q, --version β€” Display application version. and yes bestie, the page really does list -q twice, once here and once above. that's what it says, we're not editing her, we're celebrating her. πŸ™ˆ
  • -d, --debug=1-6 β€” Set the verbosity of debugging output. the higher the number, the more she overshares. πŸ’€
  • -j, --encoding β€” Set request message encoding
  • -c, --cacert=<filename> β€” Certificate file to verify the peer
  • -A, --cert=<filename> β€” Certificate file. The certificate must be in PEM format. PEM or nothing, she's picky like that. πŸŽ€
  • -K, --sslkey=<key> β€” SSL Key.
  • -u, --username=<username> β€” User name. Can also be passed by setting the WSMAN_USER environment variable. The command line option takes precedence. (so if you set both, the flag wins. the flag always wins. queen shit.)
  • -g, --path=<path> β€” Service Path (default: 'wsman')
  • -J, --input=<filename> β€” File with resource for Create and Put operations in XML, can be a SOAP envelope
  • -p, --password=<password> β€” User Password. Can also be passed by setting the WSMAN_PASS environment variable. The command line option takes precedence.
  • -h, --hostname=<hostname> β€” Host name
  • -b, --endpoint=<url> β€” End point
  • -P, --port=<port> β€” Server Port
  • -X, --proxy=<proxy> β€” Proxy name
  • -Y, --proxyauth=<proxyauth> β€” Proxy user:pwd
  • -y, --auth=<basic|digest|gss> β€” Authentication Method
  • -a, --method=<custom method> β€” Method (Works only with 'invoke'). so if you're not invoking, she's not listening. 🫢
  • -k, --prop=<key=val> β€” Properties with key value pairs (For 'put', 'invoke' and 'create')
  • -C, --config-file=<file> β€” Alternate configuration file
  • -O, --out-file=<file> β€” Write output to file
  • -V, --noverifypeer β€” Not to verify peer certificate
  • -v, --noverifyhost β€” Not to verify hostname
  • -I, --transport-timeout=<time in sec> β€” Transport timeout in seconds
okay so real talk for one sec: -V and -v both turn certificate/hostname checking off. that's a security thing, not a cute thing. only do it when you actually mean it, bestie. πŸ’–

and that's the whole page!! she's wsmancli 2.2.6 (201207311652), she's from July 2012, and she's out here in the User Commands section of the manual doing her lil thing. go forth and slay your resource URIs, bestie. πŸ’…βœ¨πŸ¦‹πŸŒΈ