Set-OSDCloudVMSettings

OSD 23.5.28.1+ Updated May 29, 2023

Using this function, you can use Parameters to change the OSDCloud VM Template settings. This creates a configuration file that is imported every time you create an OSDCloud VM. In the example below I have changed the Memory from 4GB to 10GB, the Processor Count from 1 to 2, and set the Switch from 'No connection' to 'Default Switch' using the following commands

Set-OSDCloudVMSettings -MemoryStartupGB 10 -ProcessorCount 2 -SwitchName 'Default Switch'

Get-OSDCloudVMSettings will show the updated values and the inclusion of the configuration file

New-OSDCloudVM will show when Settings are being used, resulting in an OSDCloud VM being created with the updated Settings

Last updated