-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Add UUID v7 support to New-Guid #24895
Copy link
Copy link
Open
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issuesWG-ReviewedA Working Group has reviewed this and made a recommendationA Working Group has reviewed this and made a recommendation
Description
Summary of the new feature / enhancement
Dotnet 9 got support for creating UUID v7 GUIDs.
- Dotnet method
[guid]::CreateVersion7(): https://learn.microsoft.com/en-us/dotnet/api/system.guid.createversion7
This could be useful in PowerShell too.
- Relevant cmdlet: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/new-guid
Proposed technical implementation details (optional)
- Default to v4 like now, but add optional switch for UUID v7, and optional
DateTimeOffsetas input. - New cmdlet
New-Ulid?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issuesWG-ReviewedA Working Group has reviewed this and made a recommendationA Working Group has reviewed this and made a recommendation
Type
Projects
Status
Reviewed