summaryrefslogtreecommitdiffstats
path: root/examples/README
blob: e1144c63d6110d439188a7c3f4a464dc7341a753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83

wsmid_identify
--------------

Summary:
	Issue an Identify request and de-serialize the result. 
Options:
	-p, --product                                   Print Product Vendor
  	-v, --version                                   Print Product Version
  	-P, --protocol                                  Print Protocol Version
  	-u, --endpoint=<uri>                            Endpoint in form of a URL
Example:

	% ./wsmid_identify -u http://wsman:secret@example.com:8889/wsman   

	Openwsman Project 0.7.0 supporting protocol http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd


serialize
----------

Summary:
	Examples using the XML serialization and de-serialization API.
Options:
	None
Example:
	run ./serialize in the local directory which will do several serialization and 
	de-serialization routines.
	For more details, check the file 'doc/README.serialization' in the openwsman 
	repository for detailed documentation of the serialization API.
	
	
win32_service
----------------
Summary:
	A command-line client to manage and display services on a Microsoft Windows machine
	with WS-Management support (Vista).
Options:
	-u, --endpoint=<uri>                            Endpoint in form of a URL
	-l, --list-all                                  List all services
	-d, --desc                                      Show service description
	-s, --stop                                      Stop service
	-S, --start                                     Start service
	-X, --status                                    Get service status
	-D, --dump                                      Dump request
	
    For actions related to one service, add the name of the service as an argument.
	
Example:

	./win32_service -u http://wsman:secret@example.com:80/wsman -l -X
	...
	...
	wmiApSrv
	        State: Stopped
	WMPNetworkSvc
	        State: Stopped
	WPCSvc
	        State: Stopped
	WPDBusEnum
	        State: Running
	wscsvc
	        State: Running
	WSearch
	        State: Running
	wuauserv
	        State: Running
	wudfsvc
	        State: Stopped	
    ...
    ...


	./win32_service -u http://wsman:secret@example.com:80/wsman  -d wudfsvc
	
	wudfsvc
	        State: Stopped
	        Description: Manages user-mode driver host processes