I use this:
[regex]$exluded_vms = '33|66'
$vm_list = Get-Datacenter | Get-VM | ? { $_.NAME -NOTMATCH $exluded_vms}
a more efficent way is using get-view
get-view -viewtype virtualmachine -filter @{'name'='^((?!33|66).)*$'}
last one give more information about VM, you can pipe the result to | select name
to limit the ouptup