# 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="/files/FZ7DvNJHgqjKWPfKbHt0" 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="/files/Nm1M7CUqvqFbSBjavBD7" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.osdcloud.com/osdcloud-v1/osdcloud/setup/osdcloud-vm/set-osdcloudvmsettings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
