PowerTip: Use Special Formatting from Types XML File in WMI


Summary: Use special formatting from the types .xml file to choose properties in Windows PowerShell and WMI.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find the status of the BIOS on my computer without viewing the default output?

Hey, Scripting Guy! Answer Use the special PSStatus view when you select properties:

Get-WmiObject win32_bios | select psstatus

Comments (1)

  1. Anonymous says:

    PS C:> Get-WmiObject -Class Win32_BIOS | Select -Property Status

    Status
    ——
    OK

    But why PSStatus ?

Skip to main content