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

Re: Misaligned VMDK's Powercli Script Help

$
0
0

I get a parsing error on line 5. Right after the -and. It looks like it needs a value?

 

$vms = get-vm | where {$_.PowerState -eq "PoweredOn" -and ` $_.Guest.OSFullName -match "Microsoft Windows*" } | Sort Name


Viewing all articles
Browse latest Browse all 245504


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