5 Replies Latest reply on Sep 11, 2015 4:35 AM by DZ1

    Find Lower Case VMs

    russjar Enthusiast

      Hi all,


      Trying to find all the lowercase VMs so I can then rename to UPPERCASE.


      When I run my command below it only returns a single lowercase VM when I know I have a lot more than one.


      Can someone push me in the right direction please?




      get-vm | Where-Object { $_.name -match "[A-Za-z]+_[A-Za-z]+" }