New-OSDCloudVM
OSD 23.5.28.1+ Updated May 29, 2023
Last updated
OSD 23.5.28.1+ Updated May 29, 2023
Last updated
You can customize the defaults of the Virtual Machine by using the parameters of this function. When you change any of the parameters, it will save the configuration in the OSDCloud Workspace. Every subsequent OSDCloud VM that you create in the same OSDCloud Workspace will use these settings. In this example I have set my OSDCloud VM Settings (Template) with the following configuration
When I run New-OSDCloudVM
, it will inherit my OSDCloud VM Settings that were created in my OSDCloud Template by Set-OSDCloudVMSettings
This should absolutely be one of the first things you set in your Virtual Machine. Ideally it should be inherited from Set-OSDCloudVMSettings
And yes, you will be able to Tab Complete through your available Virtual Switches
If you need your VM set to 'Not connected', just use a $null
value
By default, OSDCloud VM will startup automatically. I can prevent this from happening by using this parameter and setting the value to $false
This value determines if a New VM Checkpoint will be created or not, which is incredibly helpful if you need to reset the VM to a clean state. You can change this at the command line as well
This Prefix is given to the Virtual Machine name created with New-OSDCloudVM
. By default, this is OSDCloud, but you can also configure this at the command line
By default, the VM will be created as Generation 2, which is UEFI. But if you want to live in a world of pain, you can create a Generation 1 Virtual Machine.
Seriously don't do this. OSDCloud will partition your disk as GPT, which won't boot your Generation 1 VM. This feature was added for testing only. I will not address any questions about this parameter, so you're on your own here.
The minimum requirements for Windows 11 are 4GB, but I've seen some things not work right, so I suggest bumping this up a little
I recommend setting this to at least 2, but that's your call.
If you are curious as to how many processors you can use at the same time across all Virtual Machines ...
Can you create a Virtual Machine with a Processor Count greater than the number of Processors? Yes you can, but you'll have problems getting it to start
Finally feel free to give your Virtual Machine a few extra GB's of space. Enjoy!
As a reminder, you can reset things back to default if you need to
A TimeStamp is used in the Virtual Machine Name so you should always be able to quickly identify the last one you created. Finally, if you have a failed deployment, you can Apply the initial Checkpoint to reset the Virtual Machine to a newly created state