Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 49146

Re: Filter Cluster Hosts from Get-View Using Cluster Wildcard

$
0
0

With a RegEX expression that uses negative lookbehind, you can filter out all clusters with a name that ends in 'Build'

 

Get-View-ViewType ClusterComputeResource -Filter @{'Name'='.*(?<!Build)$'}

Viewing all articles
Browse latest Browse all 49146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>