Get-FriendlyProcName.ps1

File uploaded by dchosnek on Nov 21, 2013
Version 1Show Document
  • View in full screen mode

This script will take the "unfriendly" CPU name string reported by Intel (the same string UCSM, VMware PowerCLI, and MS SCOM report) like this one:

 

Intel(R) Xeon(R) CPU E7- 2860  @ 2.27GHz

 

and covert it to a more user-friendly string like this one:

 

Intel E7-2860

 

The function accepts pipeline input as well as single arguments.

Outcomes