# Windows Setup Environment

{% hint style="info" %}
**To open a Command Prompt in WinSE, hold down SHIFT + F10**
{% endhint %}

#### When you boot a computer using Windows 10 Media, you are booting to the Windows Setup Environment.  I refer to this as WinSE (yes, just like WinPE and WinRE).  WinSE exists as Index 2 of the Boot.wim

![](/files/-Lq-eeaE1Xx6HesXb4x3)

## PowerShell and OSD Module

#### Through the Magic of Offline Servicing, I can add PowerShell to WinSE (OSDBuilder helps) and start doing some fun stuff.  Using the magic of OSDBuilder ExtraFiles, I decided to add the OSD Module to WinSE so I can have some fun.  Here is where you need to save the OSD Module

```
<Mount>\Windows\System32\WindowsPowerShell\v1.0\Modules
```

![](/files/-Lq-fFz515db3KHIczNO)

## ExecutionPolicy Restricted

#### Unfortunately WinSE's PowerShell Execution Policy doesn't help me out because this prevents the loading of PowerShell Modules.  I'll detail in the next page how to take care of this

![](/files/-Lq-fn1XwEDThSBRd6qQ)


---

# 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://osd.osdeploy.com/docs/winse.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.
