Title: Add UUID v7 support to `New-Guid` · Issue #24895 · PowerShell/PowerShell · GitHub
Open Graph Title: Add UUID v7 support to `New-Guid` · Issue #24895 · PowerShell/PowerShell
X Title: Add UUID v7 support to `New-Guid` · Issue #24895 · PowerShell/PowerShell
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 ...
Open Graph 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.createvers...
X 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.createvers...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/24895
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add UUID v7 support to `New-Guid`","articleBody":"### Summary of the new feature / enhancement\n\nDotnet 9 got support for creating UUID v7 GUIDs.\n\n* Dotnet method `[guid]::CreateVersion7()`: \u003chttps://learn.microsoft.com/en-us/dotnet/api/system.guid.createversion7\u003e\n\nThis could be useful in PowerShell too.\n\n* Relevant cmdlet: \u003chttps://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/new-guid\u003e\n\n### Proposed technical implementation details (optional)\n\n* Default to v4 like now, but add optional switch for UUID v7, and optional `DateTimeOffset` as input.\n* New cmdlet `New-Ulid`?","author":{"url":"https://github.com/o-l-a-v","@type":"Person","name":"o-l-a-v"},"datePublished":"2025-01-29T15:36:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/24895/PowerShell/issues/24895"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:087d90d4-3377-fb3c-1149-5d83742d60eb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFF2:27E049:A3F039:DD3023:6A4D4334 |
| html-safe-nonce | 60800fef805a2f8954ded3e1f8f4a66dcf08b95e7db6942da684c58f31299dd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkYyOjI3RTA0OTpBM0YwMzk6REQzMDIzOjZBNEQ0MzM0IiwidmlzaXRvcl9pZCI6IjU5NTA5NjY0Nzc5MTM2NzA0NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 74c1f5b64de5397edfaccb1cd4e00c10d4ad983fbfcc52040cbb0166aeefeda0 |
| hovercard-subject-tag | issue:2818561977 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/24895/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fe277b59610e0c493a914fdfe07835d896ced7161b2999b9800189dfc1d23246/PowerShell/PowerShell/issues/24895 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fe277b59610e0c493a914fdfe07835d896ced7161b2999b9800189dfc1d23246/PowerShell/PowerShell/issues/24895 |
| og:image:alt | 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.createvers... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | o-l-a-v |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width