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

# 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)
