2. PowerCLI Module For VMware Cloud Foundation:
Reference: https://lifeofbrianoc.com/2024/07/11/powercli-module-for-vmware-cloud-foundation-introduction/
Install-Module -Name VMware.Sdk.Vcf.SddcManager
Connect-VcfSddcManagerServer -Server crk-m01-sddcmgr.crk.vcfvxrail.corp -username administrator@vsphere.local -password password
(Invoke-VcfGetHosts).Elements | more
3. Psql Commands:
- psql -h localhost -U postgres
- \l
- \c platform
- \dt
- \x
- platform=# select * from host ;
select id, hostname, status from host where status='ACTIVE';
Posted on
By David Ring VCF
Posted in VCF Tagged #ESXi, Host, PowerCLI, POWERVCF, PSQL, sddc manager, VCF, VCF on VxRail, vmware cloud foundation, VxRail