retok
Bronze

remote systems

Jump to solution
how can I configure bios values on remote systems with Dell Client PowerShell Provider (http://en.community.dell.com/techcenter/enterprise-client/w/wiki/6901.dell-client-powershell-provider.aspx)?
0 Kudos
14 Replies
Highlighted

RE: remote systems

Jump to solution

You would need to install the HAPI driver and PowerShell Provider on the remote systems. Then either run a powershell script that leverages the provider, or invoke a remote powershell session to the remote system and execute the commands that way.

retok
Bronze

RE: remote systems

Jump to solution
Thanks for answering, although OMCI is installed (no need to install HAPI driver, right?) I got this error on the remote system: ------------------------------------------------------------------------------------------------------------------------------------------- [p91006]: PS C:\tmp> import-module .\DellBIOSProvider.dll Could not load file or assembly 'file:///C:\tmp\DellBIOSProvider.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) + CategoryInfo : NotSpecified: (Smiley Happy [Import-Module], FileLoadException + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.ImportModuleCommand ------------------------------------------------------------------------------------------------------------------------------------------- [p91006]: PS C:\tmp> dir Directory: C:\tmp Mode LastWriteTime Length Name ---- ------------- ------ ---- -a--- 28.04.2014 13:01 38912 DellBIOSProvider.dll -a--- 28.04.2014 12:30 308736 DSMBLibrary.dll -a--- 28.04.2014 12:30 6018 DSMBLibrary.lib -a--- 28.04.2014 12:30 238080 DSMBLibWrapper.dll -a--- 28.04.2014 12:30 3526 DSMBLibWrapper.lib -a--- 28.04.2014 12:30 261120 HapiIntf.dll -a--- 28.04.2014 12:30 114456 HapiIntf.lib -a--- 03.01.2013 09:29 1014840 libxml2.dll -a--- 03.01.2013 09:29 377924 libxml2.lib -------------------------------------------------------------------------------------------------------------------------------------------
0 Kudos
retok
Bronze

RE: remote systems

Jump to solution
sorry for bad formatting but all my ENTER's are removed....
0 Kudos

RE: remote systems

Jump to solution

Retok, 

Thanks for your details . 

Can You please go to the Properties of the .DLL file by right clicking on it.and check for the any messages saying to Unblock it. 

Also please share the information about PS version on both the Systems. 

Tags (1)

RE: remote systems

Jump to solution

Perform Security->Unblock  for the downloaded zip file Dell_SMBIOS_Provider.zip  to unblock all assemblies at once.

Please share the outcome with us.

 

retok
Bronze

RE: remote systems

Jump to solution
Thank you for reply, unblock helps. now I have this error: ------------------------------------------------------------------------------------------------------------------------------------------- [p91006]: PS C:\tmp> dir Directory: C:\tmp Mode LastWriteTime Length Name ---- ------------- ------ ---- -a--- 28.04.2014 13:01 38912 DellBIOSProvider.dll -a--- 22.05.2014 16:08 218 DellBIOSProvider.dllDellSMBProvider_Log_22-05-2014.txt -a--- 28.04.2014 12:30 308736 DSMBLibrary.dll -a--- 28.04.2014 12:30 6018 DSMBLibrary.lib -a--- 28.04.2014 12:30 238080 DSMBLibWrapper.dll -a--- 28.04.2014 12:30 3526 DSMBLibWrapper.lib -a--- 28.04.2014 12:30 261120 HapiIntf.dll -a--- 28.04.2014 12:30 114456 HapiIntf.lib -a--- 03.01.2013 09:29 1014840 libxml2.dll -a--- 03.01.2013 09:29 377924 libxml2.lib [p91006]: PS C:\tmp> [p91006]: PS C:\tmp> import-module .\DellBIOSProvider.dll [p91006]: PS C:\tmp> [p91006]: PS C:\tmp> [p91006]: PS C:\tmp> [p91006]: PS C:\tmp> cd DellSMBIOS: cd : Cannot find drive. A drive with the name 'DellSMBIOS' does not exist. + CategoryInfo : ObjectNotFound: (DellSMBIOSSmiley Frustratedtring) [Set-Location], DriveNotFoundException + FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.SetLocationCommand [p91006]: PS C:\tmp> [p91006]: PS C:\tmp> ------------------------------------------------------------------------------------------------------------------------------------------- in the DellBIOSProvider.dllDellSMBProvider_Log_22-05-2014.txt: .NET Version: 4.0.30319.18444 FALIURE:drive DellSmbios: could not be created. ------------------------------------------------------------------------------------------------------------------------------------------- thanks, Reto
0 Kudos

RE: remote systems

Jump to solution

Reto ,

this error says that there is no drive created when u import the module. 

please do a "gdr" in PS prompt and check if there is a drive named DellSMbios. 

Also please share us the System model, OMCI, PowerShell and OS versions which your using.

0 Kudos

RE: remote systems

Jump to solution

Execute "remove-module DellBIOSProvider"  prior to imorting the module again with unblocked assemblies.

You can add -verbose switch for extra messages.

0 Kudos
retok
Bronze

RE: remote systems

Jump to solution
"remove-module DellBIOSProvider" does not help. "gdr" on the remote system ("Enter-PSSession") does not show "DellSMbios" Powershell=3.0 System=Dell OptiPlex 790 OMCI=7.8 OS=Windows 7 SP1 (x86)
0 Kudos