Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
thanks for the reply. it broke something so I'm not sure if I was to take your sample and use it or figure out how to use it but i am a little lost.
The dropdown displays this @{Name=1; Value=1073741824} instead of an integer 1..8
ERROR: Set-VM : Cannot bind parameter 'MemoryMinimumBytes'. Cannot convert value "@{Name=4; Value=4294967296}" to type "System.Nullable`1[System.Int64]". Error:
ERROR: "Cannot process argument because the value of argument "obj" is null. Change the value of argument "obj" to a non-null value."
I use $_ and $a to append VM names in a loop = $combobox1.SelectedItem
It showed null. Set-VM : Cannot validate argument on parameter 'MemoryMinimumBytes'. The argument is null. Provide a valid value for the argument, and then try running the
This topic is 6 years and 10 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.