danielolsson
1 Copper

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

0 Kudos
11 Replies

RE: Dell PS provider - WinPE 10 - PowerShell 5.0

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

Thanks

Vibha

0 Kudos
ChaddPlusPlus
1 Copper

RE: Dell PS provider - WinPE 10 - PowerShell 5.0

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.

0 Kudos

RE: Dell PS provider - WinPE 10 - PowerShell 5.0

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

danielolsson
1 Copper

RE: Dell PS provider - WinPE 10 - PowerShell 5.0

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 ?

0 Kudos
pramodtvm
1 Nickel

RE: Dell PS provider - WinPE 10 - PowerShell 5.0

Hi Daniel,

Please see the below link.

www.dell.com/.../advanced

DELL-Pramod R
Social Media Support
#IWork4Dell
Drivers & Driver Order

0 Kudos

RE: Dell PS provider - WinPE 10 - PowerShell 5.0

Please refer:

www.dell.com/.../advanced

You should be able to find A16 there

0 Kudos

RE: Dell PS provider - WinPE 10 - PowerShell 5.0

0 Kudos
ChaddPlusPlus
1 Copper

RE: Dell PS provider - WinPE 10 - PowerShell 5.0

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()

0 Kudos
Highlighted

RE: Dell PS provider - WinPE 10 - PowerShell 5.0

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

0 Kudos