What do you mean by a "managed workstation"? Which product are you using?
To get at the same value described by your manual process, do this:
(Get-CimClass Win32_ComputerSystemProduct).CimClassQualifiers['UUID'].Value
What do you mean by a "managed workstation"? Which product are you using?
To get at the same value described by your manual process, do this:
(Get-CimClass Win32_ComputerSystemProduct).CimClassQualifiers['UUID'].Value