This script lists all VMs with a memory limit set in Resource Manger in a given VMWare cluster.
Connect-VIServer myserver.fqdn.com
Get-Cluster $Cluster | Get-VM | Get-VMResourceConfiguration | where {$_.MemLimitMB -ne "-1"}
If you want to clear all memory limits and set them to unlimited use the following code
Connect-VIServer myserver.fqdn.com
Get-Cluster MyCluster | Get-VM | Get-VMResourceConfiguration | where {$_.MemLimitMB -ne "-1"} | Set-VMResourceConfiguration -MemLimitMB $null
The same can also be done for the CPU management using CpuLimitMhz attribute.

can u share the script for getting the list of vm, where resources set unlimited.