Skip to content

Commit cbc1c9f

Browse files
(GH-10822) Clarify UUID version for New-Guid (#10825)
Prior to this change, the documentation for the `New-Guid` cmdlet did not specify which GUID version the cmdlet creates. This change: - Adds a note clarifying the cmdlet creates v4 UUIDs. - Resolves #10822 - Fixes AB#203150
1 parent bcc9dd1 commit cbc1c9f

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

reference/5.1/Microsoft.PowerShell.Utility/New-Guid.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Utility-help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Utility
5-
ms.date: 10/04/2021
5+
ms.date: 01/24/2024
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/new-guid?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: New-Guid
@@ -53,4 +53,7 @@ This cmdlet returns a GUID.
5353

5454
## NOTES
5555

56+
The cmdlet creates a Version 4 Universally Unique Identifier (UUID). For more information, see
57+
[System.Guid.NewGuid](xref:System.Guid.NewGuid).
58+
5659
## RELATED LINKS

reference/7.2/Microsoft.PowerShell.Utility/New-Guid.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Utility
5-
ms.date: 10/04/2021
5+
ms.date: 01/24/2024
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/new-guid?view=powershell-7.2&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: New-Guid
@@ -52,4 +52,7 @@ This cmdlet returns a GUID.
5252

5353
## NOTES
5454

55+
The cmdlet creates a Version 4 Universally Unique Identifier (UUID). For more information, see
56+
[System.Guid.NewGuid](xref:System.Guid.NewGuid).
57+
5558
## RELATED LINKS

reference/7.3/Microsoft.PowerShell.Utility/New-Guid.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Utility
5-
ms.date: 10/04/2021
5+
ms.date: 01/24/2024
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/new-guid?view=powershell-7.3&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: New-Guid
@@ -52,4 +52,7 @@ This cmdlet returns a GUID.
5252

5353
## NOTES
5454

55+
The cmdlet creates a Version 4 Universally Unique Identifier (UUID). For more information, see
56+
[System.Guid.NewGuid](xref:System.Guid.NewGuid).
57+
5558
## RELATED LINKS

reference/7.4/Microsoft.PowerShell.Utility/New-Guid.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Utility
5-
ms.date: 08/28/2023
5+
ms.date: 01/24/2024
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/new-guid?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: New-Guid
@@ -54,4 +54,7 @@ This cmdlet returns a GUID.
5454

5555
## NOTES
5656

57+
The cmdlet creates a Version 4 Universally Unique Identifier (UUID). For more information, see
58+
[System.Guid.NewGuid](xref:System.Guid.NewGuid).
59+
5760
## RELATED LINKS

reference/7.5/Microsoft.PowerShell.Utility/New-Guid.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Utility
5-
ms.date: 01/18/2024
5+
ms.date: 01/24/2024
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/new-guid?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: New-Guid
@@ -147,4 +147,8 @@ The cmdlet passes string input to the constructor of the **System.Guid** class.
147147
support strings in several formats. For more information, see
148148
[System.Guid(String)](/dotnet/api/system.guid.-ctor#system-guid-ctor(system-string)).
149149
150+
When used without string input or the **Empty** parameter, the cmdlet creates a Version 4
151+
Universally Unique Identifier (UUID). For more information, see
152+
[System.Guid.NewGuid](xref:System.Guid.NewGuid).
153+
150154
## RELATED LINKS

0 commit comments

Comments
 (0)