govc Commands For vSphere VM Verification
govc is useful when Terraform says one thing and the VM behaves like something else. It gives a direct view into vSphere inventory, VM paths, NIC backing, and extra config. For virtual CD-ROM device cleanup, see vSphere CD-ROM Host Device Cleanup With govc. Load Environment Use a clearly named helper file, not vars.env if it is only for govc: source govc.env govc about Typical values: export GOVC_URL='vcenter.example.com' export GOVC_USERNAME='administrator@vsphere.local' export GOVC_PASSWORD='...' export GOVC_INSECURE=1 export GOVC_DATACENTER='DC-Site-A' Find A VM Path Search by VM name: ...