Start a Conversation

Unsolved

This post is more than 5 years old

196965

September 3rd, 2015 09:00

Dell PS provider - WinPE 10 - PowerShell 5.0

Hi..

Will Dell PS provider be supported / supposed to work with WinPE 10 and ConfgMgr 2012 R2 SP1 in the near future ?

WinPE10 is based upon Powershell 5.0

38 Posts

September 8th, 2015 00:00

This is work in progress. Cannot say at the moment if WinPE support will be part of the next release.

Thanks

Vibha

October 13th, 2015 18:00

Unfortunately, it does not appear to work in it's current implementation. Tested in WinPE 5 and 10. It appears that it is not an incompatibility with PowerShell 5, but rather a DLL that is trying to dynamically link to a library that is not included in WinPE.

If anyone happens to get this working, please let me know. I'm currently upgrading a bunch of our old imaging scripts from HTA+VBscript to PowerShell and would love to use this module in a PE environment to configure the BIOS and enable the TPM fo BitLocker pre-provisioning.

38 Posts

October 28th, 2015 01:00

Please check the User's guide of newly launched 1.0 release -

http://www.dell.com/support/home/us/en/19/product-support/product/dell-command-powershell-provider-v1.0/manuals

Section 5 is about setting up the DellBIOSProvider in Win PE environment.

Thanks

Vibha

October 28th, 2015 14:00

I am excited to test this new version but..

Latitude E7240 is supported with A16 but only A15 is listed as possible to download for this model.

Were can I find A16 version to test new PS Module ?

29 Posts

October 30th, 2015 12:00

Hi Daniel,

Please see the below link.

www.dell.com/.../advanced

November 1st, 2015 20:00

November 1st, 2015 20:00

Please refer:

www.dell.com/.../advanced

You should be able to find A16 there

November 18th, 2015 06:00

Thank you Vibha,

I followed the documentation to get the PowerShell provider working on WinPE. After loading the module and getting child items of DellSMBIOS:\SystemInformation I get the following stack trace.

PS DellSmbios:\> Get-ChildItem DellSMBIOS:\SystemInformation

Attribute CurrentValue
--------- ------------
BIOSVersion A15
ServiceTag 2S7D9P1
AssetTag 4060796

Unhandled Exception: System.AccessViolationException: Attempted to read or write
protected memory. This is often an indication that other memory is corrupt.
at Dll_CLI.BIOSWrapper.GetCurrentValue(String category, String att, String& c
urrentValue)
at Dell.Smbios.PowerShell.Providers.DellBIOSProvider.ConstructAttributeObject
(String categoryName, ConfigDataConfigDataEntryFormSetFormConfigItem cfgitem)
at Dell.Smbios.PowerShell.Providers.DellBIOSProvider.GetChildItems(String pat
h, Boolean recurse)
at System.Management.Automation.SessionStateInternal.GetChildItems(CmdletProv
ider providerInstance, String path, Boolean recurse, CmdletProviderContext conte
xt)
at System.Management.Automation.SessionStateInternal.GetChildItems(String pat
h, Boolean recurse, CmdletProviderContext context)
at Microsoft.PowerShell.Commands.GetChildItemCommand.ProcessRecord()
at System.Management.Automation.Cmdlet.DoProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
at System.Management.Automation.CommandProcessorBase.DoExecute()
at System.Management.Automation.Internal.PipelineProcessor.Inject(Object inpu
t, Boolean enumerate)
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecute
Enumerate(Object input, Hashtable errorResults, Boolean enumerate)
at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Bool
ean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pip
eElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcCo
ntext)
at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(Inter
pretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.R
un(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.R
un(InterpretedFrame frame)
at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame
frame)
at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)

at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action`1
clause, Object dollarUnderbar, Object inputToProcess)
at System.Management.Automation.DlrScriptCommandProcessor.Complete()
at System.Management.Automation.CommandProcessorBase.DoComplete()
at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(Com
mandProcessorBase commandRequestingUpstreamCommandsToStop)
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecute
Enumerate(Object input, Hashtable errorResults, Boolean enumerate)
at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
at System.Management.Automation.Runspaces.PipelineThread.WorkerProc()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCo
ntext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

38 Posts

November 18th, 2015 08:00

Need to identify the attribute that caused the exception. Next attribute in SystemInformation category is OwnershipTag.  Please send us the output of  -

Get-ChildItem DellSMBIOS:\SystemInformation\AssetTag -verbose

Get-ChildItem DellSMBIOS:\SystemInformation\OwnershipTag -verbose

Thanks for reporting the issue. We'll try to reproduce it at our end and get back.

-Vibha

November 18th, 2015 15:00

Thank you very much for looking into this for me. I've been able to poll other areas of the SMBios provider, such as the TPM information. So far, this is the only error I have run into, although I'm in the early stages of implementing the PowerShell Provider in our workflow. Here is the output of the two commands you asked me to run;

PS DellSmbios:\> Get-ChildItem DellSMBIOS:\SystemInformation\AssetTag -verbose
VERBOSE: Performing operation Get-Item on target
DellBIOS:\SystemInformation\AssetTag

Attribute CurrentValue
--------- ------------
AssetTag 4060796


PS DellSmbios:\> Get-ChildItem DellSMBIOS:\SystemInformation\OwnershipTag -verbo
se
VERBOSE: Performing operation Get-Item on target
DellBIOS:\SystemInformation\OwnershipTag

Unhandled Exception: System.AccessViolationException: Attempted to read or write
protected memory. This is often an indication that other memory is corrupt.
at Dll_CLI.BIOSWrapper.GetCurrentValue(String category, String att, String& c
urrentValue)
at Dell.Smbios.PowerShell.Providers.DellBIOSProvider.ConstructAttributeObject
(String categoryName, ConfigDataConfigDataEntryFormSetFormConfigItem cfgitem)
at Dell.Smbios.PowerShell.Providers.DellBIOSProvider.GetItem(String path)
at System.Management.Automation.SessionStateInternal.GetItemPrivate(CmdletPro
vider providerInstance, String path, CmdletProviderContext context)
at System.Management.Automation.SessionStateInternal.GetChildItems(String pat
h, Boolean recurse, CmdletProviderContext context)
at Microsoft.PowerShell.Commands.GetChildItemCommand.ProcessRecord()
at System.Management.Automation.Cmdlet.DoProcessRecord()
at System.Management.Automation.CommandProcessor.ProcessRecord()
at System.Management.Automation.CommandProcessorBase.DoExecute()
at System.Management.Automation.Internal.PipelineProcessor.Inject(Object inpu
t, Boolean enumerate)
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecute
Enumerate(Object input, Hashtable errorResults, Boolean enumerate)
at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Bool
ean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pip
eElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcCo
ntext)
at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(Inter
pretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.R
un(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.R
un(InterpretedFrame frame)
at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame
frame)
at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)

at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action`1
clause, Object dollarUnderbar, Object inputToProcess)
at System.Management.Automation.DlrScriptCommandProcessor.Complete()
at System.Management.Automation.CommandProcessorBase.DoComplete()
at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(Com
mandProcessorBase commandRequestingUpstreamCommandsToStop)
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecute
Enumerate(Object input, Hashtable errorResults, Boolean enumerate)
at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
at System.Management.Automation.Runspaces.PipelineThread.WorkerProc()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCo
ntext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

29 Posts

November 21st, 2015 10:00

Hi ChaddPlusPlus,

Can you please let us know more information about system used? System Model & WINPE Version,

I would recommend to check platform support in this link. http://en.community.dell.com/techcenter/enterprise-client/w/wiki/11653.supported-platformsbios-reference-list-for-dell-command-powershell-provider

 

No Events found!

Top