Open a command prompt (by choosing the Command Prompt item from the Start menu, or typing cmd in the Start menu's "Run" box), and type the following:
Note: Windows 10 users may navigate to the Command Prompt by right clicking on Start button, or by typing "cmd" on Start screen to search it.
Related Supported Vendor links "How to find Serial Number or Service Tag" :
Go to Utilities. Open the Terminal application and type:
Vendor Link : How to find Apple Serial Number
Open a shell and type:
Note: The user will need to have root access to the system.