Unsolved

This post is more than 5 years old

4 Posts

75997

October 23rd, 2015 07:00

Serial number question

Hy there,

i need to take the serian number ower more then 500 desktops and i have this problem:

1. this is a part of script that do that:

Function STR([array]$Chars){

   $str=""

     foreach($ch in $Chars) {

       if(($ch -ne '0') -or ($ch -ne '00')) { $str +=[char]$ch ;write-host "$ch - $([char]$ch)" }

   }

   return $str

}

$ActiveMonitors = Get-WmiObject -Namespace "ROOT\WMI"  -Query "SELECT * FROM WmiMonitorID WHERE Active='True'" # -ComputerName "mc0wp3fc"

str -Chars $ActiveMonitors[0].SerialNumberID

2. for DELL monitors is a missing 5 digits

3. in your example " CN-00FFXD-74261-3AB-1KFS", what "74261" mean, from where is that part of a SN generated?

4. for example in one of my monitors have [02 RK1Y]-74261-[477-4DKU]

RK1Y - monitor model

477 - something about year

74261 - ?????

please advise

No Responses!

0 events found

No Events found!

Top