# Customize

This section will detail the Components of OSConfig and how they Customize the OS . . .

## OSConfig.ps1 <a href="#osconfig-ps1" id="osconfig-ps1"></a>

This is the Main script that kicks everything off in the following steps

### Relocate OSConfig <a href="#relocate-osconfig" id="relocate-osconfig"></a>

If OSConfig.ps1 is not executed from C:\ProgramData\OSConfig\\\*, it will be coped there automatically

### Log Environment Variables <a href="#log-environment-variables" id="log-environment-variables"></a>

Environment Variables will be logged and saved in the OSConfig Transcript

### Increase Screen Buffer Size <a href="#increase-screen-buffer-size" id="increase-screen-buffer-size"></a>

When running OSConfig in the OOBE Phase, there are no defaults set for PowerShell Console. A default will be added to allow for extended scrolling

### Execute Child-Items <a href="#execute-child-items" id="execute-child-items"></a>

The Main part of OSConfig.ps1 is to search for all subdirectories and to execute all PowerShell scripts that exist in the root of the subdirectories. These can be anything you want . . . the choice is up to you. I have included some of the customizations that I run to help you get a head start.


---

# 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://osconfig.osdeploy.com/docs/untitled-1.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.
