Get Windows Server Serial Number

Updated — June 20/17

I have been asked this question more than I have fingers and toes so I figured I would do a quick post providing the Windows PowerShell that will retrieve the Serial Number for any LUN connected to a Windows Server.

Updated — June 20/17. I have been asked this question more than I have fingers and toes so I figured I would do a quick post providing the Windows PowerShell that will retrieve the Serial Number for any LUN connected to a Windows Server. First, get the list of computers from domain and query the Serial number from that computers. You need to have administrative access to all the PCs and they must be reachable to get SN. Please give it a try with following example. It will get all computer names start with TestPC.

Get Windows Server Serial Numbers

2
4
6
8
10
$AllDevices=gwmi-ClassWin32_DiskDrive-Namespace'rootCIMV2'
if($Device.Model-like'PURE FlashArray*'){
Name=$Device.Name;
Index=$Device.Index;
}Format-Table-AutoSize
}

Another way is using Get-CimInstance. Limbo full game. Get-CimInstance Win32Bios Select-Object SerialNumber. My goal is to retrieve all Serial Numbers in a user friendly and easy to read output. Make sure that WinRM is enabled on all remote computers (Windows Server 2012/2016 enabled by default, Windows Client disabled by default). Is there any way to obtain the OEM product key, from Lenovo, using the serial number. Windows Server expert 44 Best Answers 248 Helpful Votes. Open Command Prompt in Windows. In the Windows search bar, type CMD, and select the Command Prompt from the listed results. An HDD and an SDD have two types of serial numbers. The first is a ‘volume’ number. How to retrieve serial number of proliant server This time I needed to get serial number of hp ProLiant DL380 server without taking the server out or even going next to that server so I find out that it’s pretty easy to get serial number of that server with a sort wmic command and some magic parameters. You’ll see the computer’s serial number displayed beneath the text “SerialNumber”. This command uses the Windows Management Instrumentation Command-line (WMIC) tool to pull the system’s serial number from its BIOS. If you don’t see your PC’s serial number, blame your PC’s manufacturer.

Windows Server 2003 Get Serial Number

The Index corresponds to what the Windows Disk Management displays. Now there is a 1:1 mapping of Device Index and Serial Number that can be used for automation tasks.

2
4
6
8
10
12
---------
Name.PHYSICALDRIVE0
Index0
Name Value
Caption PURE FlashArray Multi-Path Disk Device
SerialNo45084F3508BF46140001192C

Windows Server Serial Number Command

Thanks,
Barkz