> For the complete documentation index, see [llms.txt](https://osconfig.osdeploy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osconfig.osdeploy.com/docs/untitled-1.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://osconfig.osdeploy.com/docs/untitled-1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
