Read HP Bios Sensor data from WMI – PowerShell is King
Hem NYHETERTECH NEWS Read HP Bios Sensor data from WMI – PowerShell is King

Read HP Bios Sensor data from WMI – PowerShell is King

Publicerat av: Redaktionen

Read HP Bios Sensor data from WMI – PowerShell is King

nystroem-2

I was bored in my hotel room and I ended up browsing WMI, found one cool/fun thing. I have a EliteBook 8570w and it turns out that HP uses WMI to store data and that makes it possible to read the data using PowerShell of course. Here is how:

Read HP Bios Sensor data from WMI using PowerShell

image

So, here is the actual code for you to copy:

#Read HP Bios Sensor data from WMI using PowerShell
$BIOSSensor = Get-WmiObject -Class HP_BIOSSensor -Namespace root\hp\instrumentedbios
$BIOSSensor | Select-Object Name,CurrentState,CurrentReading,Description

 

Relaterade Artiklar

Vi använder cookies och andra identifierare för att förbättra din upplevelse. Detta gör att vi kan säkerställa din åtkomst, analysera ditt besök på vår webbplats. Det hjälper oss att erbjuda dig ett personligt anpassat innehåll och smidig åtkomst till användbar information. Klicka på ”Jag godkänner” för att acceptera vår användning av cookies och andra identifierare eller klicka ”Mer information” för att justera dina val. Jag Godkänner Mer Information >>

-
00:00
00:00
Update Required Flash plugin
-
00:00
00:00