Although It's not a commonality to generate your very own GUID (Globally Unique Identifier), particularly If you're simply performing basic computing tasks, developers & programmers do In fact have the need to do so at some point when (for example), working with Microsoft technologies or messing around with the Windows Registry. As such, In this tutorial, I will show you how to natively generate a GUID In Windows 10.
So what exactly Is a GUID? Without the tech jargon and simply put, as It's name Implies, It's used to uniquely Identify objects and reference Information on your computer. For example, you can use a specific GUID, to create a Control Panel applet shortcut on your desktop.
It's almost Impossible for two GUIDs to share the exact same Identity, and that's what makes It so effective when used In the proper context. If you're well aware of It's structure and have the need to utilize GUIDs, then this tutorial Is for you.
I will demonstrate how to generate as many as you like, by using both the Command Prompt and PowerShell. So without further ado, let's get this started.
Step One:
Firstly, I will use PowerShell. To access It, open the Run menu, enter powershell and hit OK as shown below.Step Two:
Windows PowerShell will now launch, so enter the following command.[guid]::NewGuid()
If your terminal looks similar to mine as per below, hit the Enter key on your keyboard.
Step Three:
The GUID has now been generated, which you can apply to whatever task you're performing at the time.Step Four:
Just to show that no two GUIDs are alike, I've generated a couple- one after the other. As you can see, the first Is completely different to the second. You can hit as many GUIDs as you like In the same session.Step Five:
Now I'll use the Command Prompt. Again, to access It, open the Run menu, enter cmd and hit OK.Step Six:
The Command Prompt will execute, so enter the following command.powershell [guid]::NewGuid()
If your window looks like mine, hit the Enter key on your keyboard.
Comments
Post a Comment