Finding driver information on a Windows Server core
I found it very hard to find the version of drivers on a server core machine (the one without a GUI). Here is a nice PowerShell script which will show you what you need:
Get-WmiObject -class MSFC_FCAdapterHBAAttributes -namespace “root\WMI” | Select-Object DriverVersion, FirmwareVersion, Manufacturer, Model, SerialNumber | Format-Table –AutoSize
Note: in the old days, you could use fcinfo but that does not install on Windows 2008 or 2012 Server.
One Comment
Jeff
I’m trying to figure out how to get a list of drivers with version on a Server 2012 R2 core, but no luck so far. Most web sites say to use “sc query type= driver”, but that lists services, not devices. I tried your command above, but get an error:
> Get-WmiObject -class MSFC_FCAdapterHBAAttributes -namespace “root\WMI” | Select-Object DriverVersion, FirmwareVersion, Manufacturer, Model, SerialNumber | Format-Table –AutoSize
Get-WmiObject : Not supported
At line:1 char:1
+ Get-WmiObject -class MSFC_FCAdapterHBAAttributes -namespace “root\WMI” | Select- …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], ManagementException
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand