You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the current version from vcsim, PowerShell and PowerCLI. I start vcsim with username, password and tls=false arguments. The connection with the PowerCLI to the simulated vCenter works fine. The cmdlets Get-Datacenter, Get-VM, Get-VMHost and Get-Datastore delivers all the expected results. Everything looks very good, but when I try to create a VM with the New-VM cmdlet an error message occurs.
E.g. the code ...
... delivers New-VM: 1/22/2024 10:47:12 AM New-VM The valid range for VM memory size is between 4 MB and 0 MB.
Also I tried it with -MemoryGB and other different variants, but I get always the same result.
What is my mistake? Does anyone have a tip or an idea?
Thanks and best regards
Stefan
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I installed the current version from vcsim, PowerShell and PowerCLI. I start vcsim with username, password and tls=false arguments. The connection with the PowerCLI to the simulated vCenter works fine. The cmdlets Get-Datacenter, Get-VM, Get-VMHost and Get-Datastore delivers all the expected results. Everything looks very good, but when I try to create a VM with the New-VM cmdlet an error message occurs.
E.g. the code ...
... delivers
New-VM: 1/22/2024 10:47:12 AM New-VM The valid range for VM memory size is between 4 MB and 0 MB.
Also I tried it with -MemoryGB and other different variants, but I get always the same result.
What is my mistake? Does anyone have a tip or an idea?
Thanks and best regards
Stefan
Beta Was this translation helpful? Give feedback.
All reactions