vmware / PowerCLI-Example-Scripts

http://blogs.vmware.com/powercli
Other
764 stars 608 forks source link

Support specifying NumCPU, Ram, CoresPerSocket parameters for the Start-HVPool cmdlet #628

Open acstanley opened 10 months ago

acstanley commented 10 months ago

Is your feature request related to a problem? Please describe.

9 months ago the Start-HVFarm cmdlet got updated so NumCPU, Ram, CorePerSocket can be specified. I would like to specify the same, but I use pools.

Describe the solution you'd like

I would like to be able to run something like the following command (note final 3 parameters):

Start-HVPool -SchedulePushImage `
             -Pool "poolname" `
             -ParentVM $golden_image_vm `
             -SnapshotVM $snap `
             -LogoffSetting "WAIT_FOR_LOGOFF" `
             -HvServer $hvserver.view_api_service_object `
             -Vcenter "vcenterservername" `
             -NumCPU "2" `
             -Ram "8GB" `
             -CoresPerSocket "2"

Describe alternatives you've considered

No response

Additional context

No response