Get-HPDeviceBootInformation



Summary

Get current boot mode and uptime

Syntax

Get-HPDeviceBootInformation [<CommonParameters>]

Description

Returns an object containing system uptime, last boot time, whether secure boot is enabled, and whether the system was booted in UEFI or Legacy mode.

Parameters

No parameters defined.

Examples


PS C:\> $IsUefi = (Get-HPDeviceBootInformation).Mode -eq "UEFI"