Get Windows Server Serial Number
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 Product License Information (including product key) GUI Tool Windows License Extractor is a small PowerShell/WinForms GUI tool (Sapien PowerShell Studio 2015) that will help you to display/export licensing information (including the product key where possible) for your current running operating system, as well as other remote computers.
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.
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 } |
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.
Thanks,
Barkz
Synopsis
Gets the serial number of a local or remote computer.Syntax
- Get-Serial [ComputerName] [-PreserveWhitespace] [-Credential]
Description
The Get-Serial cmdlet returns the serial number stored in the BIOS of a local or remote computer.Parameters
- ComputerName The computer against which to run the cmdlet. By default this parameter will be populated with the name of the local computer.
- PreserveWhitespace Return the serial number unaltered, with any whitespace preserved. By default the cmdlet strips whitespace (spaces and blanks) from the serial number. Some manufacturers pad serial numbers with whitespace when writing them to the BIOS. This causes the serial number to fail comparisons operations in Powershell. However, to retain the whitespace and return the serial number exactly as stored, use this switch.
- Credential The credentials under which to run the cmdlet. By default this cmdlet will run as the current user. Using this parameter and the Get-PSCredential cmdlet you can specify an alternate set of credentials under which to execute this command.
Inputs
Get-Serial accepts pipeline input only for the ComputerName parameter and requires that the input object contain a property named either Computer, CN or ComputerName.Outputs
Get-Serial outputs the serial number of the requested computer as a system.string.Notes
The Get-Serial cmdlet requires that the RPC service is started on the computer it is trying to access and that DNS services are available to resolve target host names.Example 1
This command will retrieve the serial number of the local computer:Vst instruments free download for soundbridge. C:PS>Get-Serial
Windows Server 2003 Get Serial Number
Example 2
This command will retrieve the serial number of the remote computer PC01:C:PS>Get-Serial -Computer PC01
Example 3
This command will retrieve the serial number of the remote computer PC01 and also preserve any spaces, padding or blank characters included within the serial number:Windows Get System Serial Number
Hbr articles pdf. C:PS>Get-Serial -Computer PC01 -PreserveWhitespace