Yes it works for ESX 3.5.
For ESX 3.5
vpx agent:
/bin/rpm -qa | grep vpx
/bin/rpm -e <output from previous command>
For ESXi 3.5 and ESXi 4.x:
/opt/vmware/uninstallers/VMware-vpxa-uninstall.sh
/opt/vmware/uninstallers/VMware-aam-ha-uninstall.sh
Yes it works for ESX 3.5.
For ESX 3.5
vpx agent:
/bin/rpm -qa | grep vpx
/bin/rpm -e <output from previous command>
For ESXi 3.5 and ESXi 4.x:
/opt/vmware/uninstallers/VMware-vpxa-uninstall.sh
/opt/vmware/uninstallers/VMware-aam-ha-uninstall.sh