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:
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 use UuidCreateSequential()and so this option has no effect on the output. -c
Display output in upper case.
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 use UuidCreateSequential()and so this option has no effect on performance or the output. -ofilename
Redirect output to filename instead of stdout.
Display output in C structure format.
The uuidgen utility exits 0 on success, and >0 if an error occurs.
FreeBSD 5 and up. Windows Server 2012. Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019.
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
PTC MKS Toolkit 10.3 Documentation Build 39.