If you got an error while connecting to VCSA through WINSCP, see Connecting to vCenter Server Virtual Appliance 6.0 using WinSCP fails with the error: Received too large SFTP packet (2115983)
If you got an error while uploading the file to VCSA through WINSCP, see Error when uploading files to vCenter Server Appliance using WinSCP (2107727)
# python vcgentrydel.py --help
# root@VCSA5 [ /tmp ]# python vcgentrydel.py --help
usage: Deletes VCG override entry for disk. Refer to VMware Compatibility guide for param details
[-h] --cluster CLUSTER --vendor VENDOR [--partnum PARTNUM] --model
MODEL --capacity CAPACITY --firmware FIRMWARE
optional arguments:
-h, --help show this help message and exit
--cluster CLUSTER Cluster MoRef
--vendor VENDOR Hard disk vendor standard . ie ATA, NVMe
--partnum PARTNUM Part Number if available i.e P13695-B21
--model MODEL Model info for device
--capacity CAPACITY Disk size in bytes. e.g 50 GiB = 50 x 1073741824 =
53687091200. https://convertermaniacs.com/gigabyte-to-
byte/gb-to-bytes-converter.html
--firmware FIRMWARE Firmware version for hardware