December 5th, 2013

PowerTip: Use Special Formatting from Types XML File in WMI

Doctor Scripto
Scripter

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

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback