LKBEN11745: How to create a new GUID on Windows.
Symptom
You need to create a new GUID (= Globally Unique Identifier) to use in a script.
Cause
For managing UEM devices with policies you need to generate new GUIDs for every policy.
Solution
The easy way to create a new GUID is to use the powershell command new-guid. The result looks like this:
PS C:\WINDOWS\system32> new-guid
Guid
----
65095913-f74d-42ef-9009-91b0df2a0d22
PS C:\WINDOWS\system32>
Hope this helps.
Disclaimer:
The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!About the Author
Author:
- Keskon GmbH & Co. KGWim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.
Latest update: 09-09-2024