Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
There are multiple options to use WMIC.
What is WMIC?
Windows Management Instrumentation Command-line. Refer this link for more information.
Help:
WMIC /?
PowerShell Way:
Requirement: Get BIOS information as HTML report
$BIOS = Get-WmiObject Class Win32_BIOS | ConvertTo-Html -Fragment
ConvertTo-Html -Body $BIOS -Title "BIOS Information" | Out-File C:\Temp\BIOS.HTML
Alternative Way (Interesting Trick)
WMIC BIOS LIST BRIEF /format:htable | Out-File C:\Temp\BIOS_WMIC.HTML
Simple and Easy to consume WMIC as required using Command Lines or PowerShell hosts.