SYNOPSIS
uuidgen
DESCRIPTION
The uuidgen utility by default generates a single DCE version 1 universally unique identifier (UUID), also known as a globally unique identifier (GUID). The UUID is written to stdout by default. The following options can be used to change the behaviour of uuidgen:
Options
-1 -
This option only has effect if multiple identifiers are to be generated and instructs uuidgen to not generate them in batch, but one at a time. The PTC MKS Toolkit port of
uuidgen() does not useUuidCreateSequential() and so this option has no effect on the output. -c -
Display output in upper case.
-n count-
This option controls the number of identifiers generated. By default, multiple identifiers are generated in batch. The PTC MKS Toolkit port of
uuidgen() does not useUuidCreateSequential() and so this option has no effect on performance or the output. -o filename-
Redirect output to filename instead of stdout.
-s -
Display output in C structure format.
DIAGNOSTICS
The uuidgen utility exits 0 on success, and >0 if an error occurs.
PORTABILITY
FreeBSD 5 and up. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.
AVAILABILITY
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.5 Documentation Build 40.