# New-OSDDiskWinPE (GPT)

#### You'll start by holding down left Shift + F10 to open a Command Prompt, then enter PowerShell.  Once PowerShell is started, run New-OSDDiskWinPE

#### The first prompt is a Warning that you will lose everything on the Hard Drive if you keep going ... Press Enter to continue

![](/files/-LqgvPBuiottUrO9YplU)

#### Now here is the prompt where Clear-Disk will destroy your data.  Press Enter, or Y then Enter

![](/files/-Lqgvbl6Wea1MnGl0N9T)

#### Now you are prompted before the Partitions are created.  Enter the number of the Disk, which is 0 and press Enter (or just press Enter since nothing = 0)

![](/files/-LqgvjpLUScyAgy19lH4)

Now the magic begins

![](/files/-Lqgw5PYgJUqyF7ctfXi)

![](/files/-Lqgw7618QNop3irC1UW)

![](/files/-Lqgw8GGViD1gPQLhEYZ)

#### Now the Partitions are perfect

![](/files/-LqgwEdG4RHO-TT-V9dg)


---

# 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/guides/partitions/new-osddiskwinpe-gpt.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.
