1 Copper

PowerShell DellBiosProvider Bugs

This is on a Precision 3420, BIOS 2.4.2 with the 1.3.0 version of the module:

1. Several attributes and descriptions are mismatched. 

PS DellSmbios:\> dir .\Manageability\

Attribute    ShortDesc                       CurrentValue
---------    ---------                       ------------
UsbProvision Enable Keyboard Error Detection Enabled
PostMebxKey  Enable USB Provision            Enabled

PS DellSmbios:\> dir .\video

Attribute        ShortDesc            CurrentValue
---------        ---------            ------------
MultiDisplay     Enable Multi-Display Disabled
PrimaryVideoSlot Enable MEBx Hotkey   Auto

2. PSPath and related attributes use DellBIOS: as the PSDrive, but the actual PSDrive is DellSMBios:.  As a result, this doesn't work:

PS DellSmbios:\> gi .\SystemInformation | fl *

PSPath        : DellBIOSProvider\DellSmbiosProv::DellBIOS:\SystemInformation
PSParentPath  : DellBIOSProvider\DellSmbiosProv:Smiley Very HappyellBIOS:
PSChildName   : SystemInformation
PSDrive       : DellSmbios
PSProvider    : DellBIOSProvider\DellSmbiosProv
PSIsContainer : True
Category      : SystemInformation
Desc          : Displays information that uniquely identifies the system.

PS DellSmbios:\> cd (gi .\SystemInformation).pspath
cd : Cannot find path 'DellBIOS:\SystemInformation' because it does not exist.
At line:1 char:1
+ cd (gi .\SystemInformation).pspath
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (DellBIOS:\SystemInformationSmiley Frustratedtring) [Set-Location], ItemNotFoundExcepti
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

But this does:

PS DellSmbios:\> cd DellSmbios:\SystemInformation
PS DellSmbios:\SystemInformation>

0 Kudos