# Set-OSDCloudVMSettings

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

<figure><img src="https://344220114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVSV22dcsjKDdOxDA6n%2Fuploads%2FoWzB7uDAp3qu2I8sZpmN%2Fimage.png?alt=media&#x26;token=0f798213-a11f-4dd1-a853-ab96f60e7c51" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://344220114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MVSV22dcsjKDdOxDA6n%2Fuploads%2F4FUA5q9OJWt2K8tth4yl%2Fimage.png?alt=media&#x26;token=90b8d25b-cf8f-4cda-a11e-94b11751e864" alt=""><figcaption></figcaption></figure>
