VMware Cloud Community
fdclam
Contributor
Contributor

I have 250 server at my farm, I have to set mark i Unlimited i Menory, in Resources.

I have 250 server at my farm, I have to set, mark i Unlimited i Menory, in Resources.

Please help my with a sript.

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

You can use the Set-VMResourceConfiguration cmdlet for this.

A sample script

Get-VM | Get-VMResourceConfiguration | where {$_.MemLimitMB -ne ‘-1‘} | Set-VMResourceConfiguration -MemLimitMB $null

____________

Blog: LucD notes

Twitter: lucd22


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos