Skip to content

Commit

Permalink
chore: make doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dougm committed Jun 24, 2024
1 parent a916df4 commit 43510fb
Showing 1 changed file with 36 additions and 2 deletions.
38 changes: 36 additions & 2 deletions govc/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ but appear via `govc $cmd -h`:
- [host.storage.info](#hoststorageinfo)
- [host.storage.mark](#hoststoragemark)
- [host.storage.partition](#hoststoragepartition)
- [host.tpm.info](#hosttpminfo)
- [host.tpm.report](#hosttpmreport)
- [host.vnic.change](#hostvnicchange)
- [host.vnic.hint](#hostvnichint)
- [host.vnic.info](#hostvnicinfo)
Expand Down Expand Up @@ -2976,6 +2978,7 @@ Display SSL certificate info for HOST.
Options:
-host= Host system [GOVC_HOST]
-show=false Show PEM encoded server certificate only
```

## host.date.change
Expand Down Expand Up @@ -3293,6 +3296,37 @@ Options:
-host= Host system [GOVC_HOST]
```

## host.tpm.info

```
Usage: govc host.tpm.info [OPTIONS]
Trusted Platform Module summary.
Examples:
govc host.tpm.info
govc host.tpm.info -json
Options:
```

## host.tpm.report

```
Usage: govc host.tpm.report [OPTIONS]
Trusted Platform Module report.
Examples:
govc host.tpm.report
govc host.tpm.report -e
govc host.tpm.report -json
Options:
-e=false Print events
-host= Host system [GOVC_HOST]
```

## host.vnic.change

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

0 comments on commit 43510fb

Please sign in to comment.