Cherokee Boose...
Could you clarify the ps script you are running through in the show?
It is in the Configuring VM settings Part 2.
I am trying to follow your script in my lab. I was able to run the first two lines successfully. The third is not running. It seems to be missing some specific info, but anything I am attempting is failing.
New-VM Successful
new-vm -Name vm02 -Generation 2 -MemoryStartupBytes 2gb -NewVHDPath "d:\hyperv vm\vm02.vhdx" -NewVHDSizeBytes 5gb Successful
set-vmmemory -vm name> -dynamicmemoryenabled $true -minimumbytes <memory> -startupbytes <memory> -maximumbytes <memory> -priority <value> -Buffer <percentage> Fail
Can you tell from my entries what I am doing wrong?
This is the output I am receiving
At line:1 char:66
- ... mmemory -vm name> -dynamicmemoryenabled $true -minimumbytes <memory> ...
-
~
The '<' operator is reserved for future use.
At line:1 char:89
- ... micmemoryenabled $true -minimumbytes <memory> -startupbytes <memory> ...
-
~
The '<' operator is reserved for future use.
At line:1 char:112
- ... -minimumbytes <memory> -startupbytes <memory> -maximumbytes <memory> ...
-
~
The '<' operator is reserved for future use.
At line:1 char:131
- ... ry> -startupbytes <memory> -maximumbytes <memory> -priority <value> - ...
-
~
The '<' operator is reserved for future use.
At line:1 char:147
- ... s <memory> -maximumbytes <memory> -priority <value> -Buffer <percenta ...
-
~
The '<' operator is reserved for future use.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported