Skip to content

PowerToys run update value generator plugin docs for new UUID 7 support #5206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions hub/powertoys/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ It supports the following GUID versions:
- v3 - Namespace and name based, using MD5
- v4 - Random value
- v5 - Namespace and name based, using SHA1
- v7 - Time-ordered random value

> [!NOTE]
> For versions 3 and 5 there are some predefined namespaces: DNS, URL, OID and X500. You can use the following predefined namespaces:
Expand All @@ -288,6 +289,7 @@ Examples:
| `# guid` <br />`# uuid` <br />`# uuidv4` | Generate a random GUID. |
| `# guidv1` <br />`# uuidv1` | Generate a version 1 GUID. |
| `# guidv3 ns:DNS www.microsoft.com` <br />`# uuidv3 ns:DNS www.microsoft.com` | Generate the GUID version 3 for `www.microsoft.com` using the DNS namespace. <br /> The namespace parameter can be any valid GUID, and the name parameter can be any string. |
| `# uuid7` <br /> `# guidv7` | Generate a random version 7 GUID with the first 48-bit corresponding to the current timestamp, providing a well-defined order of subsequently generated values. |

> [!TIP]
> The `guid` and `uuid` keywords are interchangeable and the `v` is optional. I.e. `guid5` and `guidv5` are the same.
Expand Down