Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1709

May 4th, 2016 12:00

PSProvider XPS 9550

I believe I'm having an installation issue with DellBIOSProvider an XPS9550 as I'm not able to target the DellSmbios path directly or as a mapped PS-Drive.

I'm on Windows 10 1511 x64 enterprise on an XPS 9550 with firmware A06.

I've Installed the following:
VC++ 2012 x64
Install-PackageProvider NuGet
Install-Module DellBIOSProvider

I do not receive any errors and running in verbose yields no warnings or failures.

Get-Module shows it is present on the system. Get-PSDrive shows the following:

Alias
C
Cert
D
Env
Function
HKCU
HKLM
Variable
WSMan

I've spent the better part of 4 hours trying removing and reinstalling these components but to no effect.  Any ideas for next steps would be appreciated.

Edit: here's a verbose import of the module

Import-Module DellBIOSProvider -verbose

VERBOSE: Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\DellBIOSProvider\1.0\DellBIOSProvider.psd1'.
VERBOSE: Populating RepositorySourceLocation property for module
DellBIOSProvider.
VERBOSE: Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\DellBIOSProvider\1.0\DellBIOSProvider.psm1'.
VERBOSE: Exporting function 'Set-Dell1stBootdevice'.
VERBOSE: Exporting function 'Get-DellBiosSettings'.
VERBOSE: Exporting function 'Clear-DellAdminPassword'.
VERBOSE: Exporting function 'Set-DellAutoOnForSelectDays'.
VERBOSE: Exporting function 'Get-DellBIOSPasswordPath'.
VERBOSE: Exporting function 'Write-DellBIOSPassword'.
VERBOSE: Exporting function 'Read-DellBIOSPassword'.
VERBOSE: Importing function 'Clear-DellAdminPassword'.
VERBOSE: Importing function 'Get-DellBIOSPasswordPath'.
VERBOSE: Importing function 'Get-DellBiosSettings'.
VERBOSE: Importing function 'Read-DellBIOSPassword'.
VERBOSE: Importing function 'Set-Dell1stBootdevice'.
VERBOSE: Importing function 'Set-DellAutoOnForSelectDays'.
VERBOSE: Importing function 'Write-DellBIOSPassword'.
VERBOSE: Loading module from path 'C:\Program
Files\WindowsPowerShell\Modules\DellBIOSProvider\1.0\DellBIOSProvider.dll'.
VERBOSE: Starting PS provider DellSmbiosProv
VERBOSE: .NET Version: 4.0.30319.42000
VERBOSE: Performing InitializeDefaultDrives operation on the
'DellSmbiosProv'provider.
VERBOSE: Performing operation New-PSDrive for the provider DellSmbiosProv.
VERBOSE: Category 'StealthModeControl' does not contain any supported
attributes.
VERBOSE: Category 'Maintenance' does not contain any supported attributes.
VERBOSE: Category 'SystemLogs' does not contain any supported attributes.
VERBOSE: Category 'AdvancedConfigurations' does not contain any supported
attributes.
To get more help about the Dell Command PowerShell provider, type Get-Help DellBIOSProvider.
VERBOSE: Exporting function 'Clear-DellAdminPassword'.
VERBOSE: Exporting function 'Get-DellBIOSPasswordPath'.
VERBOSE: Exporting function 'Get-DellBiosSettings'.
VERBOSE: Exporting function 'Read-DellBIOSPassword'.
VERBOSE: Exporting function 'Set-Dell1stBootdevice'.
VERBOSE: Exporting function 'Set-DellAutoOnForSelectDays'.
VERBOSE: Exporting function 'Write-DellBIOSPassword'.
VERBOSE: Importing function 'Clear-DellAdminPassword'.
VERBOSE: Importing function 'Get-DellBIOSPasswordPath'.
VERBOSE: Importing function 'Get-DellBiosSettings'.
VERBOSE: Importing function 'Read-DellBIOSPassword'.
VERBOSE: Importing function 'Set-Dell1stBootdevice'.
VERBOSE: Importing function 'Set-DellAutoOnForSelectDays'.
VERBOSE: Importing function 'Write-DellBIOSPassword'.

Edit 2:

It appears the issue is when the module is imported when running under the context of SYSTEM.  When the Import-Module command is executed under the user context the PSDrive is created.  I suspect this may not be intentional--can anyone confirm/deny?

2 Posts

May 5th, 2016 08:00

I was able to solve this.  The issue was a tool I was using to issue remote powershell commands to a machine was instancing each command, so the PSDrive was being created and destroyed during the import.  I was able to prove this by running the import along with Get-PSDrive in a single command and it returned DellSmbios correctly.

No Events found!

Top