Examples: Using Get-VM and Where-Object

I had two cases last week where I needed to get a certain subset of VM’s and specified properties from Virtual Machine Manager.  The first scenario involved SQL servers, which due to our server naming convention was fairly easy. Get-VM -VMMServer SERVERNAME.DOMAIN.COM | Where-Object {$_.Name -like "*SQL*"} The next scenario involved using a list of

Read More