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

Re: Set Memory Reservation & Limit For List Of VMs

$
0
0

That is a known issue with passing strings through the pipeline and OBN.

 

Try like this

Get-VM -Name (Get-Content C:\tmp\VMList.txt) | Get-VMResourceConfiguration | Set-VMResourceConfiguration -MemReservationMB 1024 -MemLimitMB 2048

The difference is that you now pass an array of names on the Name parameter of the Get-VM



Viewing all articles
Browse latest Browse all 210400

Trending Articles



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