Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven-D-Foster committed May 27, 2021
1 parent 28fc51a commit 4329197
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ HUC is a simple to use open source command line tool for performing various task
- [Google Sheets Interaction](#google-sheets)
- [Generation of public and private keys](#generate-public-and-private-keys)
- [File encryption and decryption](#file-encryption-and-decryption)
- [VMware Querying](#vmware)
- [Can use a properties file](#using-a-properties-file)
- [Helper Utility Functions](#helper-functions)

Expand Down Expand Up @@ -403,6 +404,25 @@ Decrypt file with private key
huc FileDecrypt -pk=MyPrivateKey.txt data.encrypted dataDecrypted.txt
```
 
### VMware
Query various information in a VCenter 6.5+ infrastructure
```sh
huc VMwareListDatacenters -h=192.168.1.5 [email protected] -p=mypass
huc VMwareListDatastores -h=192.168.1.5 [email protected] -p=mypass
huc VMwareListFolders -h=192.168.1.5 [email protected] -p=mypass
huc VMwareListHosts -h=192.168.1.5 [email protected] -p=mypass
huc VMwareListNetworks -h=192.168.1.5 [email protected] -p=mypass
huc VMwareListResourcePools -h=192.168.1.5 [email protected] -p=mypass
huc VMwareListVMs -h=192.168.1.5 [email protected] -p=mypass
```

Query raw REST data from VCenter 6.5+ infrastructure
```sh
huc VMwareQuery -h=192.168.1.5 [email protected] -p=mypass /rest/vcenter/host
huc VMwareQuery -h=192.168.1.5 [email protected] -p=mypass /rest/vcenter/vm
huc VMwareQuery -h=192.168.1.5 [email protected] -p=mypass /rest/vcenter/vm/vm-1692
```
 
 
## Putting it all together
Query SQL server, convert the data, sftp it, zip it, then email the data
Expand Down

0 comments on commit 4329197

Please sign in to comment.