Skip to content

Commit 43510fb

Browse files
committed
chore: make doc
1 parent a916df4 commit 43510fb

1 file changed

Lines changed: 36 additions & 2 deletions

File tree

govc/USAGE.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ but appear via `govc $cmd -h`:
200200
- [host.storage.info](#hoststorageinfo)
201201
- [host.storage.mark](#hoststoragemark)
202202
- [host.storage.partition](#hoststoragepartition)
203+
- [host.tpm.info](#hosttpminfo)
204+
- [host.tpm.report](#hosttpmreport)
203205
- [host.vnic.change](#hostvnicchange)
204206
- [host.vnic.hint](#hostvnichint)
205207
- [host.vnic.info](#hostvnicinfo)
@@ -2976,6 +2978,7 @@ Display SSL certificate info for HOST.
29762978
29772979
Options:
29782980
-host= Host system [GOVC_HOST]
2981+
-show=false Show PEM encoded server certificate only
29792982
```
29802983

29812984
## host.date.change
@@ -3293,6 +3296,37 @@ Options:
32933296
-host= Host system [GOVC_HOST]
32943297
```
32953298

3299+
## host.tpm.info
3300+
3301+
```
3302+
Usage: govc host.tpm.info [OPTIONS]
3303+
3304+
Trusted Platform Module summary.
3305+
3306+
Examples:
3307+
govc host.tpm.info
3308+
govc host.tpm.info -json
3309+
3310+
Options:
3311+
```
3312+
3313+
## host.tpm.report
3314+
3315+
```
3316+
Usage: govc host.tpm.report [OPTIONS]
3317+
3318+
Trusted Platform Module report.
3319+
3320+
Examples:
3321+
govc host.tpm.report
3322+
govc host.tpm.report -e
3323+
govc host.tpm.report -json
3324+
3325+
Options:
3326+
-e=false Print events
3327+
-host= Host system [GOVC_HOST]
3328+
```
3329+
32963330
## host.vnic.change
32973331

32983332
```
@@ -4611,8 +4645,8 @@ Examples:
46114645
govc object.collect -R create-filter-request.xml -O # convert filter to Go code
46124646
govc object.collect -s vm/my-vm summary.runtime.host | xargs govc ls -L # inventory path of VM's host
46134647
govc object.collect -dump -o "network/VM Network" # output Managed Object structure as Go code
4614-
govc object.collect -json $vm config | \ # use -json + jq to search array elements
4615-
jq -r '.[] | select(.val.hardware.device[].macAddress == "00:0c:29:0c:73:c0") | .val.name'
4648+
govc object.collect -json -s $vm config | \ # use -json + jq to search array elements
4649+
jq -r 'select(.hardware.device[].macAddress == "00:50:56:99:c4:27") | .name'
46164650
46174651
Options:
46184652
-O=false Output the CreateFilter request itself

0 commit comments

Comments
 (0)