NavigationUser login |
Dell Service Tags to Express Service Codes with PowershellKnowing the Express Service Code greatly speeds up your Dell support experience. Unfortunately they can't be read from WMI like Service Tags. You can use a tool to convert the tags / codes on Dell's website, but that is not always convenient and for Enterprise customers often not feasible (f. ex. because you need to convert 1000+ Tags). I couldn't find a Powershell converter for this task on the internet, but lots of VB and JS variants. So I went ahead and made one.
[CmdletBinding()] [long]$result=0 foreach ($c in $inputarray) { <# .DESCRIPTION Not much (nothing) has been done to validate inputs or catch overflows. V 1.0 Mirko Schnellbach 10 June 2011 .PARAMETER ToConvert .INPUTS .OUTPUTS .LINK .EXAMPLE 25546784491 .EXAMPLE 25546784491 #> By mirko at 10.06.2011 - 13:06 | mirko's blog | login to post comments
|
Thanks and credit
To Michael Stum for his C# version!