It works for me, but if the VMware Tools have not completed the NIC information, it could be that the NetworkName is not filled in.
Check what is in $vm.guest.nics for some of the VMs in your file.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference