write-host write-host "ShowCpuH.ps1, Version 1.00" write-host "Show CPU details in HTML" write-host "Written by Rob van der Woude" write-host "http://www.robvanderwoude.com" write-host get-wmiobject -class Win32_Processor | convertto-html DeviceID,Name,CurrentClockSpeed,LoadPercentage -head "CPU details for $env:computername`n" | out-file -FilePath "showcpuh.html" -Encoding "ASCII" invoke-item "showcpuh.html"