This PowerCLI script will return a list of local disks on a vSAN host as the vsan.disks_info RVC command does. Disk information includes the name, model, revision, whether an SSD or not, use by vSAN or not, and Hba/Controller specific information.
Disks are sorted ascending by the capacity. RVC: