Something like this ....
New-VM -Name [server name] -Datastore [datastore name] -DiskGB [size] -DiskStorageFormat [disk format thin\thick] -MemoryGB [size] -CD -GuestId [guestos] -NumCpu [number]
Kindly find the following:
In PowerCLI, the New-VM cmdlet is used to create a new virtual machine. A few important things that can be set with New-VM are the following:
Run New-VM while specifying the VM name, VMHost, datastore, number of CPU's, hard disk size and the network name.
New-VM -Name 'TestVM' –VMHost 'VMHost-1' -Datastore 'TestDatastore' -DiskGB 40 -MemoryGB 8 -NumCpu 2 -NetworkName 'Virtual Machine Network'
Please consider marking this answer "CORRECT" or "Helpful" if you think your question have been answered correctly.