Sorry i forgot to pblish the command
$ressource1 = (Get-vmhost -Name $esxi| Get-ResourcePool)
$datastorevm= (Get-vmhost -Name $esxi|Get-Datastore -Name 'vol7_Cl3')
New-VM -vmhost esxi12.ocap.loc -Name VmDemo -DiskGB 45 -MemoryGB 4 -NumCpu 2 -Datastore $datastorevm
You will have to give us a bit more info.
Which Windows OS are you trying to install?
Since you didn't specify a GuestId I assume the default that was taken is Windows XP. Is that correct.
Is the SCSI controller of type BusLogic?
Which ESXi version are you using?